Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
urio999 committed Jan 30, 2025
1 parent c027f8b commit 1458946
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions service/src/test/java/greencity/utils/EventUtilsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ void isRelevantTrueWhenLatestEventIsInFutureTest() {
assertTrue(EventUtils.isRelevant(mixedEvents));
}

@Test
void isRelevant_shouldReturnTrue_whenLatestEventEndsNowTest() {
List<EventDateLocation> events = List.of(
createEventDateLocation(ZonedDateTime.now().minusDays(10), ZonedDateTime.now().minusDays(5)),
createEventDateLocation(ZonedDateTime.now().minusDays(2), ZonedDateTime.now()));

assertTrue(EventUtils.isRelevant(events));
}

@Test
void calculateEventRateReturnsCorrectAverageTest() {
List<EventGrade> grades = List.of(
Expand Down

0 comments on commit 1458946

Please sign in to comment.