Fix formatting
This commit is contained in:
parent
c3e47541ad
commit
f8e5b9ba47
|
@ -59,8 +59,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests {
|
||||||
@Test
|
@Test
|
||||||
public void actuatorPathOnMainPortShouldNotMatch() {
|
public void actuatorPathOnMainPortShouldNotMatch() {
|
||||||
ResponseEntity<String> entity = new TestRestTemplate().getForEntity(
|
ResponseEntity<String> entity = new TestRestTemplate().getForEntity(
|
||||||
"http://localhost:" + this.port + "/actuator/health",
|
"http://localhost:" + this.port + "/actuator/health", String.class);
|
||||||
String.class);
|
|
||||||
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.UNAUTHORIZED);
|
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.UNAUTHORIZED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue