feat(employee): add action to remove employee from project (SCRUM-23) #35

Merged
jank merged 4 commits from feature/remove-employee into main 2024-10-23 09:51:12 +00:00
Showing only changes of commit 304a88ae0e - Show all commits

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

Jan K9f 2024-10-23 11:42:16 +02:00
Signed by: jank
GPG key ID: B267751B8AE29EFE

View file

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