Fix integration test

This commit is contained in:
Azhwani 2021-02-26 19:23:09 +01:00
parent dc349a0c00
commit 228e9a357c
1 changed files with 3 additions and 1 deletions

View File

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