From 0b37e62e0902a364d0d4977957a4a67dcb534279 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 12 Dec 2017 23:24:55 +0100 Subject: [PATCH] fix for 3811b45 :bug: --- test/db.js | 4 ++-- test/vbb.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/db.js b/test/db.js index 9c76627a..35292b12 100644 --- a/test/db.js +++ b/test/db.js @@ -151,7 +151,7 @@ test('Berlin Jungfernheide to München Hbf', co.wrap(function* (t) { test('Berlin Jungfernheide to Torfstraße 17', co.wrap(function* (t) { const journeys = yield client.journeys('8011167', { - type: 'address', name: 'Torfstraße 17', + type: 'location', address: 'Torfstraße 17', latitude: 52.5416823, longitude: 13.3491223 }, {when}) @@ -180,7 +180,7 @@ test('Berlin Jungfernheide to Torfstraße 17', co.wrap(function* (t) { test('Berlin Jungfernheide to ATZE Musiktheater', co.wrap(function* (t) { const journeys = yield client.journeys('8011167', { - type: 'poi', name: 'ATZE Musiktheater', id: '991598902', + type: 'location', id: '991598902', name: 'ATZE Musiktheater', latitude: 52.542417, longitude: 13.350437 }, {when}) diff --git a/test/vbb.js b/test/vbb.js index 62d18222..1726fec8 100644 --- a/test/vbb.js +++ b/test/vbb.js @@ -188,7 +188,7 @@ test('journey part details', co.wrap(function* (t) { test('journeys – station to address', co.wrap(function* (t) { const journeys = yield client.journeys(spichernstr, { - type: 'address', name: 'Torfstraße 17', + type: 'location', address: 'Torfstraße 17', latitude: 52.5416823, longitude: 13.3491223 }, {results: 1, when}) @@ -215,7 +215,7 @@ test('journeys – station to address', co.wrap(function* (t) { test('journeys – station to POI', co.wrap(function* (t) { const journeys = yield client.journeys(spichernstr, { - type: 'poi', name: 'ATZE Musiktheater', id: 9980720, + type: 'location', id: '9980720', name: 'ATZE Musiktheater', latitude: 52.543333, longitude: 13.351686 }, {results: 1, when})