mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 00:09:01 +00:00
Fixup tests following upstream HATEOAS changes
See gh-17755
This commit is contained in:
+1
-1
@@ -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"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user