mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
earlier/later journeys tests: add when 💚
This commit is contained in:
parent
0ce28fc783
commit
05409c4f10
10 changed files with 19 additions and 10 deletions
|
@ -132,7 +132,8 @@ test('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: spichernstr,
|
||||
toId: bismarckstr
|
||||
toId: bismarckstr,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -142,7 +142,8 @@ test('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: broadieOaks,
|
||||
toId: domain
|
||||
toId: domain,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -188,7 +188,8 @@ test('earlier/later journeys, Jungfernheide -> München Hbf', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: jungfernheide,
|
||||
toId: münchenHbf
|
||||
toId: münchenHbf,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -148,7 +148,8 @@ test('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: magdeburgHbf,
|
||||
toId: magdeburgBuckau
|
||||
toId: magdeburgBuckau,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -8,7 +8,7 @@ const testEarlierLaterJourneys = co(function* (cfg) {
|
|||
fetchJourneys,
|
||||
fromId,
|
||||
toId,
|
||||
when,
|
||||
when
|
||||
// todo: validate
|
||||
} = cfg
|
||||
|
||||
|
|
|
@ -182,7 +182,8 @@ test('earlier/later journeys, Kiel Hbf -> Flensburg', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: kielHbf,
|
||||
toId: flensburg
|
||||
toId: flensburg,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -208,7 +208,8 @@ test('earlier/later journeys, Salzburg Hbf -> Wien Westbahnhof', co(function* (t
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: salzburgHbf,
|
||||
toId: wienWestbahnhof
|
||||
toId: wienWestbahnhof,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -138,7 +138,8 @@ test('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: mittersendling,
|
||||
toId: karlTheodorStr
|
||||
toId: karlTheodorStr,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -122,7 +122,8 @@ test('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: spichernstr,
|
||||
toId: bismarckstr
|
||||
toId: bismarckstr,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
|
@ -141,7 +141,8 @@ test.skip('earlier/later journeys', co(function* (t) {
|
|||
fetchJourneys: client.journeys,
|
||||
validate,
|
||||
fromId: bremenHbf,
|
||||
toId: bremerhavenHbf
|
||||
toId: bremerhavenHbf,
|
||||
when
|
||||
})
|
||||
|
||||
t.end()
|
||||
|
|
Loading…
Add table
Reference in a new issue