aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2018-03-15 14:07:04 +0100
committerAlban Peignier2018-03-15 14:07:04 +0100
commite3177715d4734c4804c85c6a1a4b08cd34745818 (patch)
tree40b1f00657a39c7e7ad8444ff920dbc4f72dc50f
parent5557c7f1cee12a4c8214342ab9a9f125eb8886de (diff)
downloadchouette-core-e3177715d4734c4804c85c6a1a4b08cd34745818.tar.bz2
Fixes VehicleJourneys javascript spec. Refs #6143
-rw-r--r--spec/javascript/vehicle_journeys/components/VehicleJourneys_spec.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/javascript/vehicle_journeys/components/VehicleJourneys_spec.js b/spec/javascript/vehicle_journeys/components/VehicleJourneys_spec.js
index 2a84cb9ca..f78d5238c 100644
--- a/spec/javascript/vehicle_journeys/components/VehicleJourneys_spec.js
+++ b/spec/javascript/vehicle_journeys/components/VehicleJourneys_spec.js
@@ -24,7 +24,9 @@ describe('stopPointHeader', () => {
onUpdateTime: ()=>{},
onSelectVehicleJourney: ()=>{},
stopPointsList: [stop_point, same_city_stop_point, other_country_stop_point],
- vehicleJourneys: []
+ vehicleJourneys: [],
+ customFields: {},
+ extraHeaders: []
}
let list = renderer.create(
<VehicleJourneys
@@ -35,6 +37,8 @@ describe('stopPointHeader', () => {
onSelectVehicleJourney={props.onSelectVehicleJourney}
stopPointsList={props.stopPointsList}
vehicleJourneys={props.vehicleJourneys}
+ customFields={props.customFields}
+ extraHeaders={props.extraHeaders}
/>
).toJSON()