Fix checkstyle rule

This commit is contained in:
Stephane Nicoll 2018-08-08 13:04:08 +02:00
parent 13d5b00fe7
commit 48d365aba4

View File

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