remove arrival time check for refreshJourney since it seems to change for older journeys

This commit is contained in:
Traines 2025-10-21 18:30:06 +00:00
parent 13351e3977
commit 691f07b331
2 changed files with 2 additions and 2 deletions

View file

@ -260,7 +260,7 @@ if (!process.env.VCR_OFF) {
}); });
} }
tap.skip('refreshJourney', async (t) => { tap.test('refreshJourney', async (t) => {
const T_MOCK = 1710831600 * 1000; // 2024-03-19T08:00:00+01:00 const T_MOCK = 1710831600 * 1000; // 2024-03-19T08:00:00+01:00
const when = createWhen(dbProfile.timezone, dbProfile.locale, T_MOCK); const when = createWhen(dbProfile.timezone, dbProfile.locale, T_MOCK);
const validate = createValidate({...cfg, when}); const validate = createValidate({...cfg, when});

View file

@ -3,7 +3,7 @@ const simplify = j => j.legs.map(l => {
origin: l.origin, origin: l.origin,
destination: l.destination, destination: l.destination,
departure: l.plannedDeparture || l.departure, departure: l.plannedDeparture || l.departure,
arrival: l.plannedArrival || l.arrival, //arrival: l.plannedArrival || l.arrival, // sometimes differs on older journeys
line: l.line, line: l.line,
}; };
}); });