Skip to content

Commit efdcc72

Browse files
author
rathnapandi
committed
- Fix integration test
1 parent 8454d54 commit efdcc72

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/apis/src/test/java/com/axway/apim/export/test/applications/ApplicationExportTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
8686
assertEquals(exportedAPIConfig.get("state").asText(), "published");
8787
assertEquals(exportedAPIConfig.get("path").asText(), context.getVariable("apiPath"));
8888
assertEquals(exportedAPIConfig.get("name").asText(), context.getVariable("apiName"));
89-
assertEquals(exportedAPIConfig.get("caCerts").size(), 4);
89+
assertEquals(exportedAPIConfig.get("caCerts").size(), 3);
9090

9191
assertEquals(exportedAPIConfig.get("caCerts").get(0).get("certFile").asText(), "swagger.io.crt");
9292
assertFalse(exportedAPIConfig.get("caCerts").get(0).get("inbound").asBoolean());

modules/apis/src/test/java/com/axway/apim/export/test/basic/ImageAPIExportTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
6363
assertEquals(exportedAPIConfig.get("state").asText(), "unpublished");
6464
assertEquals(exportedAPIConfig.get("path").asText(), context.getVariable("apiPath"));
6565
assertEquals(exportedAPIConfig.get("name").asText(), context.getVariable("apiName"));
66-
assertEquals(exportedAPIConfig.get("caCerts").size(), 4);
66+
assertEquals(exportedAPIConfig.get("caCerts").size(), 3);
6767
assertEquals(exportedAPIConfig.get("image").asText(), "api-image.jpg");
6868
assertEquals(exportedAPIConfig.get("caCerts").get(0).get("certFile").asText(), "swagger.io.crt");
6969
assertFalse(exportedAPIConfig.get("caCerts").get(0).get("inbound").asBoolean());

modules/apis/src/test/java/com/axway/apim/export/test/basic/SimpleAPIExportTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
9494
assertEquals(exportedAPIConfig.get("path").asText(), context.getVariable("apiPath"));
9595
assertEquals(exportedAPIConfig.get("name").asText(), context.getVariable("apiName"));
9696
assertEquals(exportedAPIConfig.get("backendBasepath").asText(), "https://yet.another.petstore/another/path");
97-
assertEquals(exportedAPIConfig.get("caCerts").size(), 4);
97+
assertEquals(exportedAPIConfig.get("caCerts").size(), 3);
9898
assertEquals(exportedAPIConfig.get("caCerts").get(0).get("certFile").asText(), "swagger.io.crt");
9999
assertFalse(exportedAPIConfig.get("caCerts").get(0).get("inbound").asBoolean());
100100
assertTrue(exportedAPIConfig.get("caCerts").get(0).get("outbound").asBoolean());

modules/apis/src/test/java/com/axway/apim/export/test/basic/WildcardAPIExportTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
101101
assertEquals(exportedAPIConfig.get("state").asText(), "unpublished");
102102
assertEquals(exportedAPIConfig.get("path").asText(), context.getVariable("apiPath2"));
103103
assertEquals(exportedAPIConfig.get("name").asText(), context.getVariable("apiName2"));
104-
assertEquals(exportedAPIConfig.get("caCerts").size(), 4);
104+
assertEquals(exportedAPIConfig.get("caCerts").size(), 3);
105105

106106
assertEquals(exportedAPIConfig.get("caCerts").get(0).get("certFile").asText(), "swagger.io.crt");
107107
assertFalse(exportedAPIConfig.get("caCerts").get(0).get("inbound").asBoolean());

0 commit comments

Comments
 (0)