feat(project): Delete project (SCRUM-35) #29

Merged
jank merged 8 commits from feature/remove-project into main 2024-10-02 09:43:10 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 5e3ee4bf23 - Show all commits

@ -18,11 +18,9 @@ import java.util.Optional;
@RequestMapping(value = "projects") @RequestMapping(value = "projects")
public class RemoveProjectAction { public class RemoveProjectAction {
private final ProjectService projectService; private final ProjectService projectService;
private final ProjectMapper projectMapper;
public RemoveProjectAction(ProjectService projectService, ProjectMapper projectMapper) { public RemoveProjectAction(ProjectService projectService) {
this.projectService = projectService; this.projectService = projectService;
this.projectMapper = projectMapper;
} }
@Operation(summary = "Remove project by ID") @Operation(summary = "Remove project by ID")

@ -17,7 +17,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@SpringBootTest @SpringBootTest
@AutoConfigureMockMvc(addFilters = false) @AutoConfigureMockMvc(addFilters = false)
public class DeleteProjectActionTest { class RemoveProjectActionTest {
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
@Autowired @Autowired