JAVA-10399: Fix assertion to include start date (#11893)

This commit is contained in:
kwoyke 2022-03-09 18:08:22 +01:00 committed by GitHub
parent e99766c0a2
commit 410ccd500b
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,6 @@ class RandomDatesUnitTest {
LocalDate end = LocalDate.now(); LocalDate end = LocalDate.now();
LocalDate random = RandomDates.between(start, end); LocalDate random = RandomDates.between(start, end);
assertThat(random).isAfter(start).isBefore(end); assertThat(random).isAfterOrEqualTo(start).isBefore(end);
} }
} }