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 { ...@@ -30,9 +30,6 @@ public class OwnerControllerTests {
private static final int TEST_OWNER_ID = 1; private static final int TEST_OWNER_ID = 1;
@Autowired
private OwnerController ownerController;
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
......
...@@ -36,8 +36,6 @@ public class PetControllerTests { ...@@ -36,8 +36,6 @@ public class PetControllerTests {
private static final int TEST_OWNER_ID = 1; private static final int TEST_OWNER_ID = 1;
private static final int TEST_PET_ID = 1; private static final int TEST_PET_ID = 1;
@Autowired
private PetController petController;
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
......
...@@ -27,9 +27,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. ...@@ -27,9 +27,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@WebMvcTest(VetController.class) @WebMvcTest(VetController.class)
public class VetControllerTests { public class VetControllerTests {
@Autowired
private VetController vetController;
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
......
...@@ -27,9 +27,6 @@ public class VisitControllerTests { ...@@ -27,9 +27,6 @@ public class VisitControllerTests {
private static final int TEST_PET_ID = 1; private static final int TEST_PET_ID = 1;
@Autowired
private VisitController visitController;
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
...@@ -41,7 +38,6 @@ public class VisitControllerTests { ...@@ -41,7 +38,6 @@ public class VisitControllerTests {
given(this.clinicService.findPetById(TEST_PET_ID)).willReturn(new Pet()); given(this.clinicService.findPetById(TEST_PET_ID)).willReturn(new Pet());
} }
@Test @Test
public void testInitNewVisitForm() throws Exception { public void testInitNewVisitForm() throws Exception {
mockMvc.perform(get("/owners/*/pets/{petId}/visits/new", TEST_PET_ID)) 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.
Please register or to comment