mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
INSA: remove test todo, fix bug caused by 73c419f
- apparently INSA doesn't return prices
This commit is contained in:
parent
551d2b8215
commit
93f3bd1987
2 changed files with 2 additions and 4 deletions
|
@ -153,7 +153,8 @@ const defaultProducts = {
|
|||
bus: true,
|
||||
ferry: true,
|
||||
express: true,
|
||||
regional: true
|
||||
regional: true,
|
||||
taxi: false
|
||||
}
|
||||
const formatProducts = (products) => {
|
||||
products = Object.assign(Object.create(null), defaultProducts, products)
|
||||
|
|
|
@ -109,9 +109,6 @@ test('Magdeburg Hbf to Magdeburg-Buckau', co(function*(t) {
|
|||
|
||||
t.ok(Array.isArray(leg.passed))
|
||||
for (let stopover of leg.passed) assertValidStopover(t, stopover)
|
||||
|
||||
// todo
|
||||
// if (journey.price) assertValidPrice(t, journey.price)
|
||||
}
|
||||
|
||||
t.end()
|
||||
|
|
Loading…
Add table
Reference in a new issue