forked from DevFW-CICD/spring-petclinic
Upgrade to Spring Boot 2.2.0.RELEASE
This commit is contained in:
parent
f284b29501
commit
ce7c3f93de
2 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue