Fixup tests following upstream HATEOAS changes

See gh-17755
pull/17761/head
Phillip Webb 5 years ago
parent bee373d6cf
commit 94b5ad0f7e

@ -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"));
}
}

Loading…
Cancel
Save