mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
S-Bahn Munich: switch to 1.21 protocol
This commit is contained in:
parent
e6f25a6471
commit
68aaad1071
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue