mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
fix Nah.sh station -> address tests 💚
This commit is contained in:
parent
c4511c949c
commit
36b24e27e4
1 changed files with 7 additions and 7 deletions
|
@ -108,14 +108,14 @@ test('journeys – fails with no product', (t) => {
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
test('Kiel Hbf to Husum, Zingel 10', co(function* (t) {
|
test('Kiel Hbf to Berliner Str. 80, Husum', co(function* (t) {
|
||||||
const zingel = {
|
const berlinerStr = {
|
||||||
type: 'location',
|
type: 'location',
|
||||||
address: 'Husum, Zingel 10',
|
address: 'Husum, Berliner Straße 80',
|
||||||
latitude: 54.475359,
|
latitude: 54.488995,
|
||||||
longitude: 9.050798
|
longitude: 9.056263
|
||||||
}
|
}
|
||||||
const journeys = yield client.journeys(kielHbf, zingel, {
|
const journeys = yield client.journeys(kielHbf, berlinerStr, {
|
||||||
results: 3,
|
results: 3,
|
||||||
departure: when
|
departure: when
|
||||||
})
|
})
|
||||||
|
@ -125,7 +125,7 @@ test('Kiel Hbf to Husum, Zingel 10', co(function* (t) {
|
||||||
journeys,
|
journeys,
|
||||||
validate,
|
validate,
|
||||||
fromId: kielHbf,
|
fromId: kielHbf,
|
||||||
to: zingel
|
to: berlinerStr
|
||||||
})
|
})
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Add table
Reference in a new issue