test(UpdateProjectActionTest): update test for not found response
Some checks failed
Quality Check / Tests (pull_request) Successful in 1m9s
gitea-sonarqube-bot ERROR
Build PR / Build and analyze (pull_request) Successful in 1m47s
Quality Check / Checkstyle Main (pull_request) Successful in 35s

This commit is contained in:
Jan Gleytenhoover 2024-10-23 11:42:16 +02:00
parent 6c52670cb4
commit 304a88ae0e
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -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());
}
}