File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
modules/apis/src/test/java/com/axway/apim/export/test Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ());
Original file line number Diff line number Diff 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 ());
Original file line number Diff line number Diff 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 ());
Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments