diff --git a/pom.xml b/pom.xml index a02c5f5..b033a8a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ - 4.0.0 @@ -15,11 +15,8 @@ UTF-8 UTF-8 - 7.3.1.fuse-731003-redhat-00003 + 7.4.0-SNAPSHOT - - 1.17.1 - 1.4.0.Final @@ -31,13 +28,6 @@ pom import - - org.arquillian.cube - arquillian-cube-bom - ${arquillian.cube.version} - import - pom - @@ -129,7 +119,6 @@ org.jboss.arquillian.junit arquillian-junit-standalone - ${arquillian.version} test diff --git a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestTest.java b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestTest.java index aadab43..f7f5256 100644 --- a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestTest.java +++ b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestTest.java @@ -4,7 +4,7 @@ import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.context.embedded.LocalServerPort; +import org.springframework.boot.web.server.LocalServerPort; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.web.client.TestRestTemplate; import org.springframework.test.context.junit4.SpringRunner; @@ -26,6 +26,6 @@ public class HttpRequestTest { @Test public void healthShouldReturnOkMessage() throws Exception { - Assert.assertEquals( "{\"status\":\"UP\"}", this.restTemplate.getForObject("http://localhost:" + port + "/health", String.class)); + Assert.assertEquals( "{\"status\":\"UP\"}", this.restTemplate.getForObject("http://localhost:" + port + "/actuator/health", String.class)); } -} \ No newline at end of file +}