diff --git a/editoast/src/views/path/pathfinding.rs b/editoast/src/views/path/pathfinding.rs index 9eb72d94613..c236d582976 100644 --- a/editoast/src/views/path/pathfinding.rs +++ b/editoast/src/views/path/pathfinding.rs @@ -504,8 +504,8 @@ pub mod tests { .post(format!("/infra/{}/pathfinding/blocks", small_infra.id).as_str()) .json(&json!({ "path_items":[ - {"uic":3,"secondary_code":"BV", "track_reference": {"track_label": "V2"}}, - {"uic":8 ,"secondary_code":"BV", "track_reference": {"track_label": "V245"}}, + {"uic":3,"secondary_code":"BV", "track_reference": {"track_name": "V2"}}, + {"uic":8 ,"secondary_code":"BV", "track_reference": {"track_name": "V245"}}, ], "rolling_stock_is_thermal":true, "rolling_stock_loading_gauge":"G1",