Skip to content

Commit

Permalink
Dear 138 adjust emotions (#29)
Browse files Browse the repository at this point in the history
* DEAR-132 add github username

* DEAR-132 adjust tests

* DEAR-138 fix tests
  • Loading branch information
smuefsmuef authored Aug 11, 2024
1 parent 37f2090 commit f538a0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ 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},
Expand Down

0 comments on commit f538a0f

Please sign in to comment.