edit test to match new requests
This commit is contained in:
1 parent
11b64ebd9b
commit
5e29da0d21
1 file changed
+1
-1
@@ -69,7 +69,7 @@ public class ImageControllerTests {
|
|||||||
@Test
|
@Test
|
||||||
@Order(6)
|
@Order(6)
|
||||||
public void deleteImageShouldReturnSuccess() throws Exception {
|
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
|
@Test
|
||||||
|
|||||||
Reference in new issue
Block a user