INSA: remove test todo, fix bug caused by 73c419f

- apparently INSA doesn't return prices
This commit is contained in:
Jannis R 2018-03-13 19:24:38 +01:00
parent 551d2b8215
commit 93f3bd1987
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 4 deletions

View file

@ -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)

View file

@ -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()