Commit graph

66 commits

Author SHA1 Message Date
Jannis R
cef6dcaf0f
request: pass whole req body into transformReqBody 🐛 2022-11-18 19:20:03 +01:00
Jannis R
1000e48dfd
handle METHOD_NA/NO_MATCH/PARAMETER errors 2022-11-17 15:17:02 +01:00
Jannis R
9b263bb379
rework error handling 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
9318007455
move profile E2E tests to test/e2e 2020-01-05 18:10:08 +01:00
Jannis R
99d1531dbb
adapt tests to c2dc874 2020-01-05 17:55:37 +01:00
Jannis R
2d1d482ddf
adapt tests to 938a6f2 2020-01-05 17:55:27 +01:00
Jannis R
2b9280e6c3
adapt tests to 29a2cf3 2020-01-05 17:55:16 +01:00
Jannis R
0c145d352b
BVG, VBB: tests for walkingSpeed option 2020-01-05 17:50:56 +01:00
Jannis R
3b0740d310
adapt tests to 7e39a2f 2019-02-28 16:45:40 +01:00
Jannis R
eab850e058
adapt docs & tests to eb3ffba 📝 2019-02-28 16:45:31 +01:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥 2019-02-28 16:45:31 +01:00
Jannis R
8566bcc85f
journeys tests: expect 4 results
The default nr of results returned by HAFAS seems to be `3`, so we pick
a different one to assert that the `results` option actually works.
2019-02-28 16:45:31 +01:00
Jannis R
c1bb9a6a5c
adapt docs & tests to 0e1fcb0 📝 2019-02-28 16:45:18 +01:00
Jannis R
a1c40ad084
adapt tests to fcc53b5 2019-02-28 16:45:09 +01:00
Jannis R
88c78c243f
adapt tests to 96ff59d 2019-02-28 16:44:46 +01:00
Jannis R
0fa9610b30
tests: trip validator 2019-02-28 16:44:46 +01:00
Jannis R
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥 2019-02-28 16:44:10 +01:00
Jannis R
59584a3402
tests: co/yield -> async/await 2019-02-28 16:44:10 +01:00
Jannis R
1e13cf15ae
parseLocation: strip leading zeros from IDs 💥 2019-02-28 16:30:18 +01:00
Jannis R
b55c2c1579
validateMovement: min/max longitude/latitude config 2018-12-30 18:42:05 +01:00
Jannis R
f097022b9a
tests for departure.nextStopovers/arrival.previousStopovers 2018-12-28 22:14:35 +01:00
Jannis R
b208a3dda4
tests: fix messages 2018-12-03 11:48:31 +01:00
Jannis R
d9126d531a leg.alternatives: DB smoke test 2018-12-03 11:43:14 +01:00
Jannis R
f88358e02a tests for leg.cycle & leg.alternatives 2018-12-03 11:43:14 +01:00
Jannis R
05409c4f10
earlier/later journeys tests: add when 💚 2018-11-20 18:38:48 +01:00
Jannis R
0ce28fc783
test earlier/later journeys test 💚 2018-11-20 18:29:20 +01:00
Jannis R
ef40e827ae
fix tests 💚 2018-11-13 20:34:12 +01:00
Jannis R
4f15cbd049
minor changes 2018-10-15 20:10:50 +02:00
Jannis R
3ac04a0ebd reachableFrom(loc, [opt]) -> reachableFrom(address, [opt]) 2018-09-03 16:43:01 +02:00
Jannis R
e65b2d8780 tests for reachableFrom 2018-09-03 16:43:01 +02:00
Jannis R
5cb2b4f049
fix tests 💚 2018-09-03 15:55:09 +02:00
Jannis R
1f13f68926
allow line.fahrtNr of null 💚 2018-08-22 19:33:38 +02:00
Jannis R
9257d3ad7d
parse line.fahrtNr, adapt tests , adapt docs 📝 2018-08-22 19:06:57 +02:00
Jannis R
05bd54f021 tests for BVG 2018-07-29 20:17:50 +02:00
Jannis R
da10988b29 add tests for refreshJourneys (c88071f) 2018-07-25 10:05:52 +02:00
Jannis R
c4511c949c
adapt tests & Nah.sh profile to 12e61be 2018-07-16 11:57:07 +02:00
Jannis R
951c21eecc adapt tests to 98a051b 2018-07-13 16:07:23 +02:00
Jannis R
c0a04fc74f
tests for includeRelatedStations option
see 1551943
2018-07-10 22:33:55 +02:00
Jannis R
efc6467c93
tests: validate former scheduled platforms 2018-07-09 19:46:13 +02:00
Jannis R
c80f355d47
tests for departures with direction option 2018-07-07 21:33:35 +02:00
Jannis R
bb6e42a662
walking legs: expose distance 2018-06-28 14:12:25 +02:00
Jannis R
d3815f80d7
arrivals/departures: parse & expose platforms 2018-06-27 17:19:49 +02:00
Jannis R
f6c824eecb fix tests 💚 2018-06-26 18:13:41 +02:00
Jannis R
3ade1af7a2 basic tests for arrivals 2018-06-26 18:13:41 +02:00
Jannis R
00ea10d9c8 journey leg, departure, movement: journeyId -> tripId 💥 2018-06-26 18:13:41 +02:00
Jannis R
108eda4450
fix tests broken by 3e672ee 💚 2018-06-25 11:39:21 +02:00
Jannis R
ce880c06bd
adapt tests & docs to 021ae45 & 3e672ee 📝 2018-06-25 11:35:01 +02:00
Jannis R
6611f262bf leg.passed -> leg.stopovers 💥
Some didn't unterstand what "passed" means in this context.
"stopovers" is a lot less ambiguous; Also, it aligns with
`parseStopover` and FPTF.
2018-06-19 08:23:49 +02:00
Jannis R
3e18f5d415
gitignore lockfile, add & remove todos, minor changes 2018-06-13 20:25:56 +02:00
Jannis R
938195753c
merge next into tests-rewrite 2018-05-31 14:00:58 +02:00