From 27bf631ae5051976418db0331d1514af4bc0305c Mon Sep 17 00:00:00 2001 From: Jannis R Date: Sat, 30 Apr 2022 00:12:56 +0200 Subject: [PATCH] =?UTF-8?q?SVV=20integration=20tests:=20add=20missing=20fi?= =?UTF-8?q?xture=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fixtures/fca4b13776d7e9e0c84ee502c7b44229 | 1 + .../fca4b13776d7e9e0c84ee502c7b44229.headers | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229 create mode 100644 test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229.headers diff --git a/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229 b/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229 new file mode 100644 index 00000000..ce367312 --- /dev/null +++ b/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229 @@ -0,0 +1 @@ +{"ver":"1.39","ext":"VAO.11","lang":"deu","id":"7m2smgcwgi6xym4k","err":"OK","cInfo":{"code":"OK"},"graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"ServerInfo","err":"OK","res":{"fpB":"20220226","fpE":"20221210","sD":"20220430","sT":"001217","enc":"UTF-8","planrtTS":"1651270295","serverVersion":"5.45.KGOEVV.11.5.1 (customer/hcuvao/release/2022.q1.2) [Mar 25 2022]","clientVersion":"5.45.KGOEVV.11.5.1 (customer/hcuvao/release/2022.q1.2) [Mar 25 2022]","hciVersion":"1.56"}}]} \ No newline at end of file diff --git a/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229.headers b/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229.headers new file mode 100644 index 00000000..6b1f94ad --- /dev/null +++ b/test/e2e/fixtures/fca4b13776d7e9e0c84ee502c7b44229.headers @@ -0,0 +1,39 @@ +{ + "statusCode": 200, + "headers": { + "date": "Fri, 29 Apr 2022 22:12:17 GMT", + "server": "Apache", + "access-control-allow-headers": "*", + "access-control-allow-methods": "GET,POST,OPTIONS", + "access-control-allow-origin": "*", + "content-length": "335", + "keep-alive": "timeout=5, max=93", + "connection": "Keep-Alive", + "content-type": "application/json; charset=utf-8" + }, + "url": "https://fahrplan.salzburg-verkehr.at/bin/mgate.exe", + "time": 487, + "request": { + "method": "POST", + "headers": { + "Content-Type": [ + "application/json" + ], + "Accept-Encoding": [ + "gzip, br, deflate" + ], + "Accept": [ + "application/json" + ], + "user-agent": [ + "public-408544transpor408544t/hafas-c408544lient:408544test" + ], + "connection": [ + "keep-alive" + ], + "Content-Length": [ + "203" + ] + } + } +} \ No newline at end of file