mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
RMV integration tests: add missing mocks ✅
This commit is contained in:
parent
4b72c61c58
commit
fddf25a429
10 changed files with 180 additions and 0 deletions
1
test/e2e/fixtures/09837d1eb15a81b982610ac84e46f5be
vendored
Normal file
1
test/e2e/fixtures/09837d1eb15a81b982610ac84e46f5be
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/09837d1eb15a81b982610ac84e46f5be.headers
vendored
Normal file
35
test/e2e/fixtures/09837d1eb15a81b982610ac84e46f5be.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Tue, 15 Sep 2020 09:52:59 GMT",
|
||||
"content-length": "4751",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||
},
|
||||
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||
"time": 589,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-cli5b8ec7f6a2fdent:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"395"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/2af6205880ee7cfe972dcebf7e9e69a6
vendored
Normal file
1
test/e2e/fixtures/2af6205880ee7cfe972dcebf7e9e69a6
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/2af6205880ee7cfe972dcebf7e9e69a6.headers
vendored
Normal file
35
test/e2e/fixtures/2af6205880ee7cfe972dcebf7e9e69a6.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Tue, 15 Sep 2020 09:53:00 GMT",
|
||||
"content-length": "3265",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||
},
|
||||
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||
"time": 587,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"publi5b8ec7f6a2fdc-transport/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"455"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/55222396038050bfa049a43187939248
vendored
Normal file
1
test/e2e/fixtures/55222396038050bfa049a43187939248
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/55222396038050bfa049a43187939248.headers
vendored
Normal file
35
test/e2e/fixtures/55222396038050bfa049a43187939248.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Tue, 15 Sep 2020 09:52:58 GMT",
|
||||
"content-length": "3715",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||
},
|
||||
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||
"time": 605,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-tran5b8ec7f6a2fdsport/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"271"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/97d5f29f3502cca590fd86493fd50cc0
vendored
Normal file
1
test/e2e/fixtures/97d5f29f3502cca590fd86493fd50cc0
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/97d5f29f3502cca590fd86493fd50cc0.headers
vendored
Normal file
35
test/e2e/fixtures/97d5f29f3502cca590fd86493fd50cc0.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Tue, 15 Sep 2020 09:52:55 GMT",
|
||||
"content-length": "5322",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||
},
|
||||
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||
"time": 1564,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-client:tes5b8ec7f6a2fdt"
|
||||
],
|
||||
"Content-Length": [
|
||||
"627"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/c6cd635b710f15e63bde5d4f12302f0e
vendored
Normal file
1
test/e2e/fixtures/c6cd635b710f15e63bde5d4f12302f0e
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/c6cd635b710f15e63bde5d4f12302f0e.headers
vendored
Normal file
35
test/e2e/fixtures/c6cd635b710f15e63bde5d4f12302f0e.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Tue, 15 Sep 2020 09:52:57 GMT",
|
||||
"content-length": "2755",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||
},
|
||||
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||
"time": 1456,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport5b8ec7f6a2fd/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"628"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue