diff --git a/backend/src/test/java/ch/puzzle/okr/controller/AlignmentControllerIT.java b/backend/src/test/java/ch/puzzle/okr/controller/AlignmentControllerIT.java index c0372930db..ef0e29d500 100644 --- a/backend/src/test/java/ch/puzzle/okr/controller/AlignmentControllerIT.java +++ b/backend/src/test/java/ch/puzzle/okr/controller/AlignmentControllerIT.java @@ -3,6 +3,7 @@ import ch.puzzle.okr.mapper.AlignmentSelectionMapper; import ch.puzzle.okr.models.alignment.AlignmentSelection; import ch.puzzle.okr.models.alignment.AlignmentSelectionId; +import ch.puzzle.okr.service.business.AlignmentBusinessService; import ch.puzzle.okr.service.business.AlignmentSelectionBusinessService; import org.hamcrest.Matchers; import org.hamcrest.core.Is; @@ -35,6 +36,8 @@ class AlignmentControllerIT { private MockMvc mvc; @MockBean private AlignmentSelectionBusinessService alignmentSelectionBusinessService; + @MockBean + private AlignmentBusinessService alignmentBusinessService; @SpyBean private AlignmentSelectionMapper alignmentSelectionMapper;