Skip to content

Commit 0ca0af6

Browse files
author
rathnapandi
committed
- fix integration tests
1 parent acb527b commit 0ca0af6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/settings/src/test/java/com/axway/apim/setup/it/tests/ImportAndExportAlertsTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void runConfigImportAndExport() {
4141
if (returnCode != 0)
4242
throw new ValidationException("Expected RC was: 0 but got: " + returnCode);
4343
});
44-
String exportedAlerts = new File(tmpDirPath, "axway-api-manager").listFiles()[0].getPath();
44+
String exportedAlerts = new File(tmpDirPath, "api-manager").listFiles()[0].getPath();
4545

4646
$(echo("####### Re-Import unchanged exported alerts: " + exportedAlerts + " #######"));
4747
$(testContext -> {

modules/settings/src/test/java/com/axway/apim/setup/it/tests/ImportAndExportConfigTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void runConfigImportAndExport() throws Exception {
4949
throw new ValidationException("Expected RC was: 0 but got: " + returnCode);
5050
});
5151

52-
String exportedConfig = new File(tmpDirPath, "axway-api-manager").listFiles()[0].getPath();
52+
String exportedConfig = new File(tmpDirPath, "api-manager").listFiles()[0].getPath();
5353
JsonNode config = mapper.readTree(new File(exportedConfig));
5454
Assert.assertTrue(config.get("config").get("registrationEnabled").asBoolean());
5555
Assert.assertEquals(config.get("config").get("apiDefaultVirtualHost").asText(), "");

modules/settings/src/test/java/com/axway/apim/setup/it/tests/ImportAndExportRemoteHostsTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ public void runRemoteHostsExport() {
108108
if (returnCode != 0)
109109
throw new ValidationException("Expected RC was: 0 but got: " + returnCode);
110110
});
111-
Assert.assertEquals(new File(tmpDirPath, "axway-api-manager").list().length, 1, "One remote host is expected");
111+
Assert.assertEquals(new File(tmpDirPath, "api-manager").list().length, 1, "One remote host is expected");
112112
}
113113
}

0 commit comments

Comments
 (0)