Fix failing Content-Type related test after SPR-13631 changes

This commit is contained in:
Sebastien Deleuze 2016-03-01 15:05:22 +01:00
parent 7ceca4d83c
commit 6fde504a63
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class SampleSecureOAuth2ApplicationTests {
.perform(get("/flights/1").accept(MediaTypes.HAL_JSON)
.header("Authorization", "Bearer " + accessToken))
.andExpect(
header().string("Content-Type", MediaTypes.HAL_JSON.toString()))
header().string("Content-Type", MediaTypes.HAL_JSON.toString() + ";charset=UTF-8"))
.andExpect(status().isOk()).andDo(print()).andReturn();
Flight flight = this.objectMapper.readValue(