Skip to content

Commit b4b10a7

Browse files
Fine-tune tests
1 parent 29efc28 commit b4b10a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/src/ext-test/java/org/opentripplanner/ext/fares/impl/gtfs/TimeLimitEvaluatorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ void withinLimit(TimeLimitType type, Duration duration) {
5151

5252
private static List<Arguments> belowLimitCases() {
5353
return List.of(
54-
Arguments.of(DEPARTURE_TO_ARRIVAL, ofMinutes(19)),
54+
Arguments.of(DEPARTURE_TO_ARRIVAL, ofMinutes(20).minusSeconds(20)),
5555
Arguments.of(DEPARTURE_TO_DEPARTURE, ofMinutes(10).minusSeconds(1)),
5656
Arguments.of(ARRIVAL_TO_ARRIVAL, ofMinutes(15).minusSeconds(1)),
57-
Arguments.of(ARRIVAL_TO_DEPARTURE, ofMinutes(4))
57+
Arguments.of(ARRIVAL_TO_DEPARTURE, ofMinutes(5).minusSeconds(1))
5858
);
5959
}
6060

0 commit comments

Comments
 (0)