Minor Update
This commit is contained in:
parent
106cd8bf46
commit
80ad70d358
|
@ -8,9 +8,6 @@ package org.gcube.portlets.admin.systemservicedefinition.shared;
|
|||
*/
|
||||
public class Constants {
|
||||
|
||||
public static final boolean DEBUG_MODE = false;
|
||||
public static final boolean TEST_ENABLE = false;
|
||||
|
||||
public static final String DEFAULT_USER = "giancarlo.panichi";
|
||||
public static final String DEFAULT_SCOPE = "/gcube";
|
||||
public static final String DEFAULT_TOKEN = "";
|
||||
|
|
|
@ -9,7 +9,6 @@ import org.gcube.portlets.admin.systemservicedefinition.is.InformationSystemUtil
|
|||
import org.gcube.portlets.admin.systemservicedefinition.shared.Constants;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -25,20 +24,17 @@ public class ISTest {
|
|||
|
||||
@Test
|
||||
public void findAlgoInVRE() {
|
||||
|
||||
try {
|
||||
InformationSystemUtils.retrieveSSD(Constants.SYSTEM_SERVICE_CATEGORY,
|
||||
Constants.DEFAULT_SCOPE, Constants.DEFAULT_TOKEN);
|
||||
assertTrue(true);
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getLocalizedMessage(), e);
|
||||
assertTrue("Error searching the resource!",false);
|
||||
}
|
||||
try {
|
||||
InformationSystemUtils.retrieveSSD(Constants.SYSTEM_SERVICE_CATEGORY, Constants.DEFAULT_SCOPE,
|
||||
Constants.DEFAULT_TOKEN);
|
||||
assertTrue(true);
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getLocalizedMessage(), e);
|
||||
assertTrue("Error searching the resource!", false);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue