Commit f8e5b9ba authored by Madhura Bhave's avatar Madhura Bhave

Fix formatting

parent c3e47541
...@@ -59,8 +59,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests { ...@@ -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);
} }
......
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