mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix checkstyle rule
This commit is contained in:
parent
13d5b00fe7
commit
48d365aba4
@ -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!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user