From 68aaad10715b5bd5e4712de7131ddf64afd8dac2 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 18 Aug 2020 02:12:29 +0200 Subject: [PATCH] S-Bahn Munich: switch to 1.21 protocol --- p/sbahn-muenchen/index.js | 4 +++- test/e2e/sbahn-muenchen.js | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/p/sbahn-muenchen/index.js b/p/sbahn-muenchen/index.js index 4b6ed9f1..99eb26c0 100644 --- a/p/sbahn-muenchen/index.js +++ b/p/sbahn-muenchen/index.js @@ -5,7 +5,7 @@ const products = require('./products') const transformReqBody = (ctx, body) => { body.client = {type: 'IPH', id: 'DB-REGIO-MVV', name: 'MuenchenNavigator', v: '5010100'} body.ext = 'DB.R15.12.a' - body.ver = '1.18' + body.ver = '1.21' body.auth = {type: 'AID', aid: 'd491MVVhz9ZZts23'} return body @@ -22,6 +22,8 @@ const sBahnMunichProfile = { products, + departuresGetPasslist: false, + departuresStbFltrEquiv: false, trip: true, radar: true, refreshJourney: true, diff --git a/test/e2e/sbahn-muenchen.js b/test/e2e/sbahn-muenchen.js index d077b835..52b44d30 100644 --- a/test/e2e/sbahn-muenchen.js +++ b/test/e2e/sbahn-muenchen.js @@ -178,7 +178,6 @@ test('departures at Dietlindenstraße', async (t) => { const dietlindenstr = '624391' const departures = await client.departures(dietlindenstr, { duration: 10, when, - stopovers: true }) await testDepartures({ @@ -209,7 +208,6 @@ test('departures with station object', async (t) => { test('arrivals at Karl-Theodor-Straße', async (t) => { const arrivals = await client.arrivals(karlTheodorStr, { duration: 10, when, - stopovers: true }) await testArrivals({