We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3382e1 commit 644fc8eCopy full SHA for 644fc8e
1 file changed
application/src/test/java/org/opentripplanner/transit/service/DefaultTransitServiceTest.java
@@ -278,9 +278,12 @@ void getRealtimeTripTimesForAddedTripOnNoServiceDay() {
278
279
@Test
280
void testFromTripTimesWithScheduleFallback() {
281
- TripPattern tripPattern = service.findPattern(BAD_TRIP);
+ TripPattern tripPattern = service.findPattern(TRIP);
282
// Construct a timetable which definitely does not contain this trip, because it is empty.
283
- Timetable timetable = Timetable.of().withTripPattern(tripPattern).withServiceDate(SERVICE_DATE).build();
+ Timetable timetable = Timetable.of()
284
+ .withTripPattern(tripPattern)
285
+ .withServiceDate(SERVICE_DATE)
286
+ .build();
287
Instant midnight = ServiceDateUtils.asStartOfService(
288
SERVICE_DATE,
289
service.getTimeZone()
0 commit comments