From 93f3bd1987d004f8673f7dfb86ab6eea14c41092 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 13 Mar 2018 19:24:38 +0100 Subject: [PATCH] INSA: remove test todo, fix bug caused by 73c419f - apparently INSA doesn't return prices --- p/vbb/index.js | 3 ++- test/insa.js | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/p/vbb/index.js b/p/vbb/index.js index 3f9f9ecd..fc97d00e 100644 --- a/p/vbb/index.js +++ b/p/vbb/index.js @@ -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) diff --git a/test/insa.js b/test/insa.js index eea792f0..67f32352 100644 --- a/test/insa.js +++ b/test/insa.js @@ -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()