From 1bba5ad46c24b48948aa9eddf2accb764a7cee89 Mon Sep 17 00:00:00 2001 From: Khanh Nguyen <119989010+ndkhanh-axonivy@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:57:51 +0700 Subject: [PATCH] Update general path for test process (#6) --- .../axonivy/connector/openweather/test/BaseProcessTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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