Upgrade to Spring Boot 2.2.0.RELEASE

This commit is contained in:
Stephane Nicoll 2019-10-20 16:40:04 +02:00
parent f284b29501
commit ce7c3f93de
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ public class VetControllerTests {
public void testShowResourcesVetList() throws Exception {
ResultActions actions = mockMvc.perform(get("/vets")
.accept(MediaType.APPLICATION_JSON)).andExpect(status().isOk());
actions.andExpect(content().contentType("application/json;charset=UTF-8"))
actions.andExpect(content().contentType(MediaType.APPLICATION_JSON))
.andExpect(jsonPath("$.vetList[0].id").value(1));
}