From 691f07b33139474a1ba28f76d9a1fc6f2797adbd Mon Sep 17 00:00:00 2001 From: Traines Date: Tue, 21 Oct 2025 18:30:06 +0000 Subject: [PATCH] remove arrival time check for refreshJourney since it seems to change for older journeys --- test/e2e/dbweb.js | 2 +- test/e2e/lib/refresh-journey.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/dbweb.js b/test/e2e/dbweb.js index df9600da..3cadcf5f 100644 --- a/test/e2e/dbweb.js +++ b/test/e2e/dbweb.js @@ -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 when = createWhen(dbProfile.timezone, dbProfile.locale, T_MOCK); const validate = createValidate({...cfg, when}); diff --git a/test/e2e/lib/refresh-journey.js b/test/e2e/lib/refresh-journey.js index 391dec32..807d499c 100644 --- a/test/e2e/lib/refresh-journey.js +++ b/test/e2e/lib/refresh-journey.js @@ -3,7 +3,7 @@ const simplify = j => j.legs.map(l => { origin: l.origin, destination: l.destination, departure: l.plannedDeparture || l.departure, - arrival: l.plannedArrival || l.arrival, + //arrival: l.plannedArrival || l.arrival, // sometimes differs on older journeys line: l.line, }; });