Commit c6d4b46 1 parent 021f38c commit c6d4b46 Copy full SHA for c6d4b46
File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -389,9 +389,6 @@ pub mod tests {
389
389
390
390
#[ fixture]
391
391
pub async fn train_with_simulation_output_fixture_set (
392
- #[ future] db_pool : Data < DbPool > ,
393
- #[ future] pathfinding : TestFixture < Pathfinding > ,
394
- #[ future] fast_rolling_stock : TestFixture < RollingStockModel > ,
395
392
) -> TrainScheduleWithSimulationOutputFixtureSet {
396
393
let ScenarioFixtureSet {
397
394
project,
@@ -400,9 +397,9 @@ pub mod tests {
400
397
timetable,
401
398
infra,
402
399
} = scenario_fixture_set ( ) . await ;
403
- let pathfinding = pathfinding . await ;
404
- let rolling_stock = fast_rolling_stock . await ;
405
- let db_pool = db_pool. await ;
400
+ let rolling_stock = fast_rolling_stock ( db_pool ( ) ) . await ;
401
+ let pathfinding = pathfinding ( db_pool ( ) ) . await ;
402
+ let db_pool = db_pool ( ) . await ;
406
403
let train_schedule = make_train_schedule (
407
404
db_pool. clone ( ) ,
408
405
pathfinding. id ( ) ,
You can’t perform that action at this time.
0 commit comments