mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19: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()
|
||||
})
|
||||
|
||||
test('Kiel Hbf to Husum, Zingel 10', co(function* (t) {
|
||||
const zingel = {
|
||||
test('Kiel Hbf to Berliner Str. 80, Husum', co(function* (t) {
|
||||
const berlinerStr = {
|
||||
type: 'location',
|
||||
address: 'Husum, Zingel 10',
|
||||
latitude: 54.475359,
|
||||
longitude: 9.050798
|
||||
address: 'Husum, Berliner Straße 80',
|
||||
latitude: 54.488995,
|
||||
longitude: 9.056263
|
||||
}
|
||||
const journeys = yield client.journeys(kielHbf, zingel, {
|
||||
const journeys = yield client.journeys(kielHbf, berlinerStr, {
|
||||
results: 3,
|
||||
departure: when
|
||||
})
|
||||
|
@ -125,7 +125,7 @@ test('Kiel Hbf to Husum, Zingel 10', co(function* (t) {
|
|||
journeys,
|
||||
validate,
|
||||
fromId: kielHbf,
|
||||
to: zingel
|
||||
to: berlinerStr
|
||||
})
|
||||
t.end()
|
||||
}))
|
||||
|
|
Loading…
Add table
Reference in a new issue