diff --git a/spring-boot-samples/spring-boot-sample-secure-oauth2/src/test/java/sample/secure/oauth2/SampleSecureOAuth2ApplicationTests.java b/spring-boot-samples/spring-boot-sample-secure-oauth2/src/test/java/sample/secure/oauth2/SampleSecureOAuth2ApplicationTests.java index f9726c62ab..ae299e34d7 100644 --- a/spring-boot-samples/spring-boot-sample-secure-oauth2/src/test/java/sample/secure/oauth2/SampleSecureOAuth2ApplicationTests.java +++ b/spring-boot-samples/spring-boot-sample-secure-oauth2/src/test/java/sample/secure/oauth2/SampleSecureOAuth2ApplicationTests.java @@ -107,8 +107,8 @@ public class SampleSecureOAuth2ApplicationTests { MvcResult flightsAction = this.mvc .perform(get("/flights/1").accept(MediaTypes.HAL_JSON) .header("Authorization", "Bearer " + accessToken)) - .andExpect( - header().string("Content-Type", MediaTypes.HAL_JSON.toString() + ";charset=UTF-8")) + .andExpect(header().string("Content-Type", + MediaTypes.HAL_JSON.toString() + ";charset=UTF-8")) .andExpect(status().isOk()).andDo(print()).andReturn(); Flight flight = this.objectMapper.readValue(