edit test to match new requests
This commit is contained in:
1 parent
4bc21d6beb
commit
be80d38012
1 file changed
+1
-1
@@ -69,7 +69,7 @@ public class ImageControllerTests {
|
||||
@Test
|
||||
@Order(6)
|
||||
public void deleteImageShouldReturnSuccess() throws Exception {
|
||||
this.mockMvc.perform(delete("/images/0")).andDo(print()).andExpect(status().isOk());
|
||||
this.mockMvc.perform(delete("/images/0")).andDo(print()).andExpect(status().isNoContent());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user