feat(project): Delete project (SCRUM-35) #29
@ -18,11 +18,9 @@ import java.util.Optional;
|
||||
@RequestMapping(value = "projects")
|
||||
public class RemoveProjectAction {
|
||||
private final ProjectService projectService;
|
||||
private final ProjectMapper projectMapper;
|
||||
|
||||
public RemoveProjectAction(ProjectService projectService, ProjectMapper projectMapper) {
|
||||
public RemoveProjectAction(ProjectService projectService) {
|
||||
this.projectService = projectService;
|
||||
this.projectMapper = projectMapper;
|
||||
}
|
||||
|
||||
@Operation(summary = "Remove project by ID")
|
||||
|
@ -17,7 +17,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
|
||||
@SpringBootTest
|
||||
@AutoConfigureMockMvc(addFilters = false)
|
||||
public class DeleteProjectActionTest {
|
||||
class RemoveProjectActionTest {
|
||||
@Autowired
|
||||
private MockMvc mockMvc;
|
||||
@Autowired
|
||||
|
Loading…
Reference in New Issue
Block a user