diff --git a/pom.xml b/pom.xml index 0e99f0786..0f50398bf 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ 4.0.0 org.springframework.samples spring-petclinic - 2.1.0.BUILD-SNAPSHOT + 2.2.0.BUILD-SNAPSHOT org.springframework.boot spring-boot-starter-parent - 2.1.9.RELEASE + 2.2.0.RELEASE petclinic diff --git a/src/test/java/org/springframework/samples/petclinic/vet/VetControllerTests.java b/src/test/java/org/springframework/samples/petclinic/vet/VetControllerTests.java index 83ef50144..145c61596 100644 --- a/src/test/java/org/springframework/samples/petclinic/vet/VetControllerTests.java +++ b/src/test/java/org/springframework/samples/petclinic/vet/VetControllerTests.java @@ -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)); }