aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sql/clone_schema.sql
diff options
context:
space:
mode:
authorTeddy Wing2017-05-29 12:53:29 +0200
committerTeddy Wing2017-05-31 17:57:36 +0200
commitc6d622d662d7f787787d8ee3d89f5d900dd8ca59 (patch)
treeda17e5b10d053174f3b97c49feda37fcb89ae81a /lib/sql/clone_schema.sql
parent27cf3ff3a587c38c1fa2c5ac5048f22f38bb85e9 (diff)
downloadchouette-core-c6d622d662d7f787787d8ee3d89f5d900dd8ca59.tar.bz2
Add a basic test to check VehicleJourneyAtStop day offsets
Create a new class that will determine the day offset of a VehicleJourneyAtStop given a list of VehicleJourneyAtStops. The idea is, every time midnight is passed, the day offset should be incremented and saved in the appropriate fields of the VehicleJourneyAtStop. No real code right now, Just committing the first test I came up with. The test takes a handful of at-stops and checks that they have the correct `departure_day_offset` & `arrival_day_offset` after running our calculation method. Refs #3596
Diffstat (limited to 'lib/sql/clone_schema.sql')
0 files changed, 0 insertions, 0 deletions