Commit 3d03c01b authored by Madhura Bhave's avatar Madhura Bhave

Merge branch '2.1.x'

parents 6f045d88 f8e5b9ba
......@@ -59,8 +59,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests {
@Test
public void actuatorPathOnMainPortShouldNotMatch() {
ResponseEntity<String> entity = new TestRestTemplate().getForEntity(
"http://localhost:" + this.port + "/actuator/health",
String.class);
"http://localhost:" + this.port + "/actuator/health", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.UNAUTHORIZED);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment