Skip to content

Commit 90429c8

Browse files
committed
Fix integration test
1 parent 6a46b4a commit 90429c8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/apis/src/main/java/com/axway/apim/api/export/ExportAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public DesiredAPISpecification getApiDefinitionImport() {
326326
}
327327

328328

329-
public String getBackendBasePath() {
329+
public String getBackendBasepath() {
330330
//if(this.actualAPIProxy.getResourcePath()!=null) {
331331
// The API Manager composes the actual backend path from the host + path and backend resource path
332332
// specified in the frontend.

modules/apis/src/main/java/com/axway/apim/api/export/impl/APIResultHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected List<String> getAPICustomProperties() {
139139

140140
protected static String getBackendPath(API api) {
141141
ExportAPI exportAPI = new ExportAPI(api);
142-
return exportAPI.getBackendBasePath();
142+
return exportAPI.getBackendBasepath();
143143
}
144144

145145
protected static String getUsedSecurity(API api) {

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
@@ -91,7 +91,7 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
9191
assertEquals(exportedAPIConfig.get("state").asText(), "unpublished");
9292
assertEquals(exportedAPIConfig.get("path").asText(), context.getVariable("apiPath"));
9393
assertEquals(exportedAPIConfig.get("name").asText(), context.getVariable("apiName"));
94-
assertEquals(exportedAPIConfig.get("backendBasepath").asText(), "https://yet.another.petstore/another/path/v2");
94+
assertEquals(exportedAPIConfig.get("backendBasepath").asText(), "https://yet.another.petstore/another/path");
9595
assertEquals(exportedAPIConfig.get("caCerts").size(), 4);
9696

9797
assertEquals(exportedAPIConfig.get("caCerts").get(0).get("certFile").asText(), "swagger.io.crt");

0 commit comments

Comments
 (0)