Skip to content

Commit

Permalink
revert formatter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nevio18324 committed Jan 14, 2025
1 parent d92b109 commit 211e56c
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@

@ExtendWith(MockitoExtension.class)
class ObjectiveBusinessServiceTest {
@InjectMocks
@Spy
ObjectiveBusinessService objectiveBusinessService;
@Mock
ObjectivePersistenceService objectivePersistenceService;
@Mock
KeyResultBusinessService keyResultBusinessService;
@Mock
CompletedBusinessService completedBusinessService;
@Mock
ObjectiveValidationService validator = Mockito.mock(ObjectiveValidationService.class);

private static final AuthorizationUser authorizationUser = defaultAuthorizationUser();
private final Team team1 = Team.Builder.builder().withId(1L).withName("Team1").build();
private final Quarter quarter = Quarter.Builder.builder().withId(1L).withLabel("GJ 22/23-Q2").build();
Expand Down Expand Up @@ -61,17 +73,7 @@ class ObjectiveBusinessServiceTest {
.withObjective(objective)
.build();
private final List<KeyResult> keyResultList = List.of(ordinalKeyResult, ordinalKeyResult, ordinalKeyResult);
@InjectMocks
@Spy
ObjectiveBusinessService objectiveBusinessService;
@Mock
ObjectivePersistenceService objectivePersistenceService;
@Mock
KeyResultBusinessService keyResultBusinessService;
@Mock
CompletedBusinessService completedBusinessService;
@Mock
ObjectiveValidationService validator = Mockito.mock(ObjectiveValidationService.class);


@DisplayName("Should return correct objective on getEntityById()")
@Test
Expand Down

0 comments on commit 211e56c

Please sign in to comment.