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
ebe4fa64d8
opt.passedStations -> opt.stopovers 💥
2018-06-19 08:23:49 +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
b419477a7d
merge next into tests-rewrite
2018-06-10 14:57:51 +02:00
Jannis R
46c05eba05
adapt tests to 3c9c5cb ✅
2018-06-10 14:47:29 +02:00
Jannis R
0136189aa4
tests: fix isRoughlyEqual calls ✅
2018-06-07 12:59:50 +02:00
Jannis R
938195753c
merge next into tests-rewrite
2018-05-31 14:00:58 +02:00
Jannis R
0169e83731
journeys: add test for opt.arrival
2018-05-30 16:39:51 +02:00
Jannis R
a59b340d67
adapt tests to 1c467cd
2018-05-30 16:39:51 +02:00
Jannis R
a17123401d
fix tests failing because of weird endpoints
...
- DB: `journeyLeg()` sometimes doesn't give the `direction` #49
- nah.sh: `departures()` at "Kiel Hbf" includes neighboring stations
- ÖBB: the endpoint always returns IDs of individual stops
Although these hacks make the tests less strict, we will finally be
able to use the more thorough tests from the `tests-rewrite` branch.
2018-05-30 15:51:59 +02:00
Jannis R
634b044bc5
nah.sh tests: fix products validation 🐛
2018-05-28 20:37:19 +02:00
Jannis R
7541bcae66
adapt nah.sh radar test to #34
2018-05-25 16:08:17 +02:00
Jannis R
deb88297a0
journeys: whenRepresents option
2018-05-24 22:06:46 +02:00
Jannis R
06e759966c
tests: isValidWhen -> assertValidWhen
2018-05-14 00:47:47 +02:00
Jannis R
4d908e1f72
tests: fix isRoughEqual call 🐛 , minor change
2018-05-14 00:13:11 +02:00
Jannis R
2ca7e64fd5
journeys detour tests: use helper fn
2018-05-14 00:13:09 +02:00
Jannis R
df293e31cc
fix test helpers 🐛
2018-05-07 12:33:53 +02:00
Jannis R
2623fc44c6
merge master into next
2018-05-07 11:53:55 +02:00
Jannis R
7f02bfe4d5
add missing test helper fn
2018-04-26 16:17:53 +02:00
Jannis R
c769638005
add missing test helper fn, add todos, clean up
2018-04-25 13:24:27 +02:00
Jannis R
fecd2aefc0
journeys fails with no product tests: use helper fn
2018-04-25 13:23:53 +02:00
Jannis R
2ffcf02946
validate-fptf@2
2018-04-25 12:48:05 +02:00
Jannis R
cb5e01ed5b
departures tests: use helper fn
2018-04-24 18:16:59 +02:00
Jannis R
9501dab9f4
journeys from station to POI tests: use helper fn
2018-04-24 18:16:52 +02:00
Jannis R
1018369576
journeys from station to address tests: use helper fn
2018-04-24 15:49:54 +02:00
Jannis R
6818635ee4
earlier/later journeys test: use helper fn
2018-04-24 15:28:36 +02:00
Jannis R
63e303b6f8
journeys from station to station test: use helper fn
2018-04-23 15:45:20 +02:00
Jannis R
279dfa4f8f
ÖBB tests: use new validators
2018-04-20 11:04:54 +02:00
Jannis R
e1f7e074be
NAH.SH tests: use new validators
2018-04-19 21:32:01 +02:00
Jannis R
0ce5e9114f
INSA tests: use new validators
2018-04-19 18:14:43 +02:00
Jannis R
a92afc3c28
test validators: bugfixes 🐛
2018-04-19 18:14:42 +02:00
Jannis R
e87ccf5a3b
DB: add currency to price 🐛 , enable journeyLeg
2018-04-19 15:21:49 +02:00
Jannis R
46ce4bbbe0
DB tests: use new validators
2018-04-19 15:21:46 +02:00
Jannis R
1fb6d64f8a
VBB tests: use new validators
2018-04-18 23:56:11 +02:00
Jannis R
a2abf3b47d
tests: more validators
2018-04-18 23:54:09 +02:00
Jannis R
08a33497a0
pull validators from test/lib/util, use validate-fptf more
2018-04-18 23:53:51 +02:00
Jannis R
486929acc7
tests: move util, co, validate-line-without-mode into lib
2018-04-18 16:16:31 +02:00
Jannis R
41b574c468
tests: move assertValidStationProducts into assertValidStation
2018-04-18 16:12:59 +02:00
Jannis R
4cba773eb0
adapt tests to 0e80be0 ✅
2018-03-21 01:55:53 +01:00
Jannis R
98139f9210
prepare move to public-transport org
2018-03-19 22:34:08 +01:00
Jannis R
ec0c283bf4
merge master into next
2018-03-19 21:18:53 +01:00
Jannis Redmann
7aba19f137
merge pull request #32 from refactor-products
...
new products markup
2018-03-18 13:22:24 +01:00
Jannis R
ca6e5a0d54
NAH.SH: remove unnecessary headers, skip radar test
2018-03-17 17:27:43 +01:00
Jannis R
0987383c72
merge master into nah.sh
2018-03-17 17:21:18 +01:00
Jannis R
40b559f80d
radar(n, w, s, e) -> radar({n, w, s, e}) 💥 , adapt tests ✅
2018-03-16 17:28:20 +01:00
Jannis R
bc51d257fd
adapt tests to new products markup
2018-03-16 17:15:09 +01:00
Jannis R
94bbe2361b
products[].product -> products[].id
2018-03-16 17:15:09 +01:00
Julius Tens
06cc37b45f
update insa via tests
2018-03-16 15:32:19 +01:00