Fix integration test

This commit is contained in:
Azhwani
2021-02-26 19:23:09 +01:00
parent 2bd1c91128
commit cd38a01d17

View File

@@ -22,7 +22,8 @@ public class NoConverterFoundIntegrationTest {
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
@Test /* Remove Getters from Student class to successfully run this test case
* @Test
public void whenGettersNotDefined_thenThrowException() throws Exception { public void whenGettersNotDefined_thenThrowException() throws Exception {
String url = "/api/student/1"; String url = "/api/student/1";
@@ -35,6 +36,7 @@ public class NoConverterFoundIntegrationTest {
.contains("No converter found for return value of type")); .contains("No converter found for return value of type"));
} }
*/
@Test @Test
public void whenGettersAreDefined_thenReturnObject() throws Exception { public void whenGettersAreDefined_thenReturnObject() throws Exception {