fix test broken by 3e672ee 💚

This commit is contained in:
Jannis R 2018-06-25 11:48:29 +02:00
parent 108eda4450
commit 3c00ed29d0
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -160,7 +160,7 @@ test('Husum to Lübeck Hbf with stopover at Kiel Hbf', co(function* (t) {
const leg = journeys[0].legs.some((leg) => {
return leg.stopovers && leg.stopovers.some((stopover) => {
return stopover.station.id === kielHbf
return stopover.stop.id === kielHbf
})
})
t.ok(leg, 'Kiel Hbf is not being passed')