Align with Framework’s removal of charset attribute from application/json
Closes gh-16979
This commit is contained in:
@@ -44,8 +44,8 @@ public class WebMvcTestHateoasIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void plainResponse() throws Exception {
|
||||
this.mockMvc.perform(get("/hateoas/plain")).andExpect(header()
|
||||
.string(HttpHeaders.CONTENT_TYPE, "application/json;charset=UTF-8"));
|
||||
this.mockMvc.perform(get("/hateoas/plain"))
|
||||
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, "application/json"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user