Fixup tests following upstream HATEOAS changes

See gh-17755
This commit is contained in:
Phillip Webb 2019-08-01 15:32:39 +01:00
parent bee373d6cf
commit 94b5ad0f7e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class WebMvcTestHateoasIntegrationTests {
@Test
void hateoasResponse() throws Exception {
this.mockMvc.perform(get("/hateoas/resource"))
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, "application/hal+json;charset=UTF-8"));
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, "application/hal+json"));
}
}