diff --git a/src/test/java/ch/sbb/matsim/mobsim/qsim/pt/SBBTransitQSimEngineTest.java b/src/test/java/ch/sbb/matsim/mobsim/qsim/pt/SBBTransitQSimEngineTest.java index 7bf57ff..08809b9 100644 --- a/src/test/java/ch/sbb/matsim/mobsim/qsim/pt/SBBTransitQSimEngineTest.java +++ b/src/test/java/ch/sbb/matsim/mobsim/qsim/pt/SBBTransitQSimEngineTest.java @@ -330,11 +330,11 @@ public void testEvents_withoutPassengers_withLinks_Sesselbahn() { .addQSimModule(new ActivityEngineModule()) .addQSimModule(new SBBTransitEngineQSimModule()) .addQSimModule(new TestQSimModule(f.config)) - .configureComponents(SBBTransitEngineQSimModule::configure) .configureComponents(configurator -> { configurator.activeActivityHandlers.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME); configurator.activeMobsimEngines.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME); }) + .configureComponents(SBBTransitEngineQSimModule::configure) .build(f.scenario, eventsManager); EventsCollector collector = new EventsCollector(); @@ -485,11 +485,11 @@ public void testEvents_withoutPassengers_withLinks_FromToLoopLink() { .addQSimModule(new ActivityEngineModule()) .addQSimModule(new SBBTransitEngineQSimModule()) .addQSimModule(new TestQSimModule(f.config)) - .configureComponents(SBBTransitEngineQSimModule::configure) .configureComponents(configurator -> { configurator.activeActivityHandlers.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME); configurator.activeMobsimEngines.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME); }) + .configureComponents(SBBTransitEngineQSimModule::configure) .build(f.scenario, eventsManager); EventsCollector collector = new EventsCollector();