Skip to content

Commit

Permalink
DEAR-132 adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smuefsmuef committed Aug 11, 2024
1 parent 20cfe5f commit eabdcf0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ void calculateAverageHappinessPerWorkKindCount_multipleSurveys() {
void getEmotionInsightsByUserAndTeam_differentEmotionsAndDays() {
when(sprintConfigRepository.findById(sprintId)).thenReturn(Optional.of(sprintConfig));

LocalDateTime startDate = LocalDateTime.of(2024, 7, 27, 0, 0);
LocalDateTime endDate = LocalDateTime.of(2024, 8, 10, 23, 59, 59);

LocalDateTime startDate = sprintConfig.getStartDate().atStartOfDay();
LocalDateTime endDate = sprintConfig.getEndDate().atTime(23, 59, 59);
doReturn(Arrays.asList(
new Object[]{1, "Happy", 5L},
new Object[]{2, "Sad", 3L}
Expand Down

0 comments on commit eabdcf0

Please sign in to comment.