Skip to content
Snippets Groups Projects
Commit 86458070 authored by Antoine Rey's avatar Antoine Rey
Browse files

Remove unused properties

parent 89d0e244
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,6 @@ public class OwnerControllerTests {
private static final int TEST_OWNER_ID = 1;
@Autowired
private OwnerController ownerController;
@Autowired
private MockMvc mockMvc;
......
......@@ -36,8 +36,6 @@ public class PetControllerTests {
private static final int TEST_OWNER_ID = 1;
private static final int TEST_PET_ID = 1;
@Autowired
private PetController petController;
@Autowired
private MockMvc mockMvc;
......
......@@ -27,9 +27,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@WebMvcTest(VetController.class)
public class VetControllerTests {
@Autowired
private VetController vetController;
@Autowired
private MockMvc mockMvc;
......
......@@ -27,9 +27,6 @@ public class VisitControllerTests {
private static final int TEST_PET_ID = 1;
@Autowired
private VisitController visitController;
@Autowired
private MockMvc mockMvc;
......@@ -41,7 +38,6 @@ public class VisitControllerTests {
given(this.clinicService.findPetById(TEST_PET_ID)).willReturn(new Pet());
}
@Test
public void testInitNewVisitForm() throws Exception {
mockMvc.perform(get("/owners/*/pets/{petId}/visits/new", TEST_PET_ID))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment