Skip to content

Commit 9a8ea9e

Browse files
committed
Fix test and update im url
1 parent 89abb63 commit 9a8ea9e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/java/es/upv/i3m/grycap/im/InfrastructureManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class InfrastructureManagerTest extends ImTestWatcher {
4848
private static InfrastructureManager im;
4949
private String infrastructureId;
5050
private static final String IM_DUMMY_PROVIDER_URL =
51-
"https://appsgrycap.i3m.upv.es:31443/im-dev";
51+
"https://appsgrycap.i3m.upv.es/im-dev";
5252

5353
private static final String AUTH_FILE_PATH = "./src/test/resources/auth.dat";
5454
private static final String RADL_ALTER_VM_FILE_PATH =
@@ -182,7 +182,7 @@ public void testGetVmInfo() throws ImClientException {
182182
Map<?, ?> internalInfo = (Map<String, Object>) vmProperties.get(2);
183183
List<?> applications = (List<?>) internalInfo.get("disk.0.applications");
184184
Map<?, ?> applicationsInfo = (Map<?, ?>) applications.get(0);
185-
Assert.assertEquals("ansible.modules.indigo-dc.galaxycloud",
185+
Assert.assertEquals("ansible.roles.indigo-dc.galaxycloud",
186186
applicationsInfo.get("name"));
187187
}
188188

src/test/java/es/upv/i3m/grycap/im/auth/credentials/AuthorizationHeaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AuthorizationHeaderTest extends GenericCredentials {
3737

3838
// IM information
3939
private static final String IM_DUMMY_PROVIDER_URL =
40-
"https://appsgrycap.i3m.upv.es:31443/im-dev";
40+
"https://appsgrycap.i3m.upv.es/im-dev";
4141
private static final String TOSCA_FILE_PATH =
4242
"./src/test/resources/tosca/galaxy_tosca.yaml";
4343

src/test/java/es/upv/i3m/grycap/im/rest/client/ImClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class ImClientTest extends ImTestWatcher {
3030

3131
private static ImClient imClient;
3232
private static final String IM_DUMMY_PROVIDER_URL =
33-
"https://appsgrycap.i3m.upv.es:31443/im-dev/";
33+
"https://appsgrycap.i3m.upv.es/im-dev/";
3434
private static final String AUTH_FILE_PATH = "./src/test/resources/auth.dat";
3535
private static final Integer EXPECTED_ERROR_CODE = 404;
3636
private static final String EXPECTED_ERROR_MESSAGE = "Not found: '/'";

0 commit comments

Comments
 (0)