Commit 48d365ab authored by Stephane Nicoll's avatar Stephane Nicoll

Fix checkstyle rule

parent 13d5b00f
...@@ -62,7 +62,7 @@ public class SampleReactiveOAuth2ResourceServerApplicationTests { ...@@ -62,7 +62,7 @@ public class SampleReactiveOAuth2ResourceServerApplicationTests {
@Test @Test
public void getWhenValidTokenShouldBeOk() { public void getWhenValidTokenShouldBeOk() {
this.webTestClient.get().uri("/") this.webTestClient.get().uri("/")
.headers(headers -> headers.setBearerAuth(VALID_TOKEN)).exchange() .headers((headers) -> headers.setBearerAuth(VALID_TOKEN)).exchange()
.expectStatus().isOk().expectBody(String.class) .expectStatus().isOk().expectBody(String.class)
.isEqualTo("Hello, subject!"); .isEqualTo("Hello, subject!");
} }
......
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