Merge pull request #18351 from dreis2211

* gh-18351:
  Fix checkstyle errors in SampleReactiveOAuth2ClientApplicationTests

Closes gh-18351
pull/18351/merge
Andy Wilkinson 5 years ago
commit eb00ba7470

@ -49,7 +49,7 @@ class SampleReactiveOAuth2ClientApplicationTests {
} }
@Test @Test
public void actuatorShouldBeSecuredByOAuth() { void actuatorShouldBeSecuredByOAuth() {
this.webTestClient.get().uri("/actuator/health").exchange().expectStatus().isFound().expectHeader() this.webTestClient.get().uri("/actuator/health").exchange().expectStatus().isFound().expectHeader()
.valueEquals("Location", "/login"); .valueEquals("Location", "/login");
} }

Loading…
Cancel
Save