|
|
|
|
@ -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)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|