mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
adapt tests to 3c9c5cb ✅
This commit is contained in:
parent
2d11cfae1e
commit
46c05eba05
5 changed files with 10 additions and 10 deletions
|
@ -367,8 +367,8 @@ test('locations named Jungfernheide', co(function* (t) {
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
test('location', co(function* (t) {
|
test('station', co(function* (t) {
|
||||||
const loc = yield client.location(regensburgHbf)
|
const loc = yield client.station(regensburgHbf)
|
||||||
|
|
||||||
assertValidStation(t, loc)
|
assertValidStation(t, loc)
|
||||||
t.equal(loc.id, regensburgHbf)
|
t.equal(loc.id, regensburgHbf)
|
||||||
|
|
|
@ -312,9 +312,9 @@ test('locations named Magdeburg', co(function*(t) {
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
test('location', co(function*(t) {
|
test('station', co(function*(t) {
|
||||||
const magdeburgBuckau = '8013456'
|
const magdeburgBuckau = '8013456'
|
||||||
const loc = yield client.location(magdeburgBuckau)
|
const loc = yield client.station(magdeburgBuckau)
|
||||||
|
|
||||||
assertValidStation(t, loc)
|
assertValidStation(t, loc)
|
||||||
t.equal(loc.id, magdeburgBuckau)
|
t.equal(loc.id, magdeburgBuckau)
|
||||||
|
|
|
@ -369,8 +369,8 @@ test('locations named Kiel', co(function* (t) {
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
test('location', co(function* (t) {
|
test('station', co(function* (t) {
|
||||||
const loc = yield client.location(schleswig)
|
const loc = yield client.station(schleswig)
|
||||||
|
|
||||||
assertValidStation(t, loc)
|
assertValidStation(t, loc)
|
||||||
t.equal(loc.id, schleswig)
|
t.equal(loc.id, schleswig)
|
||||||
|
|
|
@ -418,8 +418,8 @@ test('locations named Salzburg', co(function* (t) {
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
test('location', co(function* (t) {
|
test('station', co(function* (t) {
|
||||||
const loc = yield client.location(grazHbf)
|
const loc = yield client.station(grazHbf)
|
||||||
|
|
||||||
assertValidStation(t, loc)
|
assertValidStation(t, loc)
|
||||||
t.equal(loc.id, grazHbf)
|
t.equal(loc.id, grazHbf)
|
||||||
|
|
|
@ -456,8 +456,8 @@ test('locations', co(function* (t) {
|
||||||
t.end()
|
t.end()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
test('location', co(function* (t) {
|
test('station', co(function* (t) {
|
||||||
const loc = yield client.location(spichernstr)
|
const loc = yield client.station(spichernstr)
|
||||||
|
|
||||||
assertValidStation(t, loc)
|
assertValidStation(t, loc)
|
||||||
t.equal(loc.id, spichernstr)
|
t.equal(loc.id, spichernstr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue