mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
BVG E2E/integration tests: update mocked when, update fixtures ✅
closes #323
This commit is contained in:
parent
d001fcc1a4
commit
3c8bb905f3
2 changed files with 33645 additions and 33573 deletions
|
@ -27,7 +27,7 @@ import {testReachableFrom} from './lib/reachable-from.js';
|
||||||
import {testRemarks} from './lib/remarks.js';
|
import {testRemarks} from './lib/remarks.js';
|
||||||
import {testLines} from './lib/lines.js';
|
import {testLines} from './lib/lines.js';
|
||||||
|
|
||||||
const T_MOCK = 1671260400 * 1000; // 2022-12-17T08:00:00+01:00
|
const T_MOCK = 1731394800 * 1000; // 2024-11-12T08:00:00+01:00
|
||||||
const when = createWhen(bvgProfile.timezone, bvgProfile.locale, T_MOCK);
|
const when = createWhen(bvgProfile.timezone, bvgProfile.locale, T_MOCK);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
@ -242,7 +242,7 @@ tap.test('trip details', async (t) => {
|
||||||
tap.test('journeys – station to address', async (t) => {
|
tap.test('journeys – station to address', async (t) => {
|
||||||
const torfstr = {
|
const torfstr = {
|
||||||
type: 'location',
|
type: 'location',
|
||||||
address: '13353 Berlin-Wedding, Torfstr. 17',
|
address: '13353 Berlin-Wedding, Torfstraße 17',
|
||||||
latitude: 52.541797,
|
latitude: 52.541797,
|
||||||
longitude: 13.350042,
|
longitude: 13.350042,
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue