Fix failing Content-Type related test after SPR-13631 changes
This commit is contained in:
parent
7ceca4d83c
commit
6fde504a63
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue