test(UpdateProjectActionTest): update test for not found response
This commit is contained in:
parent
6c52670cb4
commit
304a88ae0e
@ -136,6 +136,6 @@ class UpdateProjectActionTest {
|
||||
|
||||
@Test
|
||||
void updateProjectShouldReturnNotFoundResponseWhenProjectIsNotFound() throws Exception {
|
||||
this.mockMvc.perform(put("/projects/2").content("{}").contentType(MediaType.APPLICATION_JSON)).andExpect(status().isNotFound());
|
||||
this.mockMvc.perform(put("/projects/98723498798").content("{}").contentType(MediaType.APPLICATION_JSON)).andExpect(status().isNotFound());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user