diff --git a/open-weather-connector-test/src_test/com/axonivy/connector/openweather/test/BaseProcessTest.java b/open-weather-connector-test/src_test/com/axonivy/connector/openweather/test/BaseProcessTest.java index 0cdaeb3..3b019fe 100644 --- a/open-weather-connector-test/src_test/com/axonivy/connector/openweather/test/BaseProcessTest.java +++ b/open-weather-connector-test/src_test/com/axonivy/connector/openweather/test/BaseProcessTest.java @@ -5,7 +5,7 @@ import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; import ch.ivyteam.ivy.environment.AppFixture; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class BaseProcessTest { @BeforeEach @@ -15,7 +15,7 @@ void beforeEach(AppFixture fixture) { "ch.ivyteam.ivy.rest.client.mapper.JsonFeature"); fixture.config("RestClients.GeocodingCoordinates (Openweathermap geocoding API).Features", "ch.ivyteam.ivy.rest.client.mapper.JsonFeature"); - fixture.var("openWeatherConnector.weatherDataUrl", "http://localhost:8081/designer/api/weatherDataMock"); - fixture.var("openWeatherConnector.weatherGeoUrl", "http://localhost:8081/designer/api/weatherGeoMock"); + fixture.var("openWeatherConnector.weatherDataUrl", "{ivy.app.baseurl}/api/weatherDataMock"); + fixture.var("openWeatherConnector.weatherGeoUrl", "{ivy.app.baseurl}/api/weatherGeoMock"); } } \ No newline at end of file