mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-14 13:51:12 +00:00
Convert to jar with thymeleaf
This commit is contained in:
parent
3450c3d99e
commit
e38a9feebe
65 changed files with 778 additions and 1076 deletions
|
|
@ -65,13 +65,4 @@ public class VisitControllerTests {
|
|||
.andExpect(view().name("pets/createOrUpdateVisitForm"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testShowVisits() throws Exception {
|
||||
mockMvc.perform(get("/owners/*/pets/{petId}/visits", TEST_PET_ID))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(model().attributeExists("visits"))
|
||||
.andExpect(view().name("visitList"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue