From 3ca67e669d580ba9d47d1b4c4b8c884a613a5369 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 1 Mar 2016 14:30:27 +0000 Subject: [PATCH] Polishing --- .../secure/oauth2/SampleSecureOAuth2ApplicationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(