JAVA-10399: Fix assertion to include start date (#11893)
This commit is contained in:
parent
e99766c0a2
commit
410ccd500b
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue