Skip to content

Commit ea32b24

Browse files
committed
fixup! editoast: refacto path item location to add track and label information
1 parent 862d35b commit ea32b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editoast/src/views/path/pathfinding.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ pub mod tests {
504504
.post(format!("/infra/{}/pathfinding/blocks", small_infra.id).as_str())
505505
.json(&json!({
506506
"path_items":[
507-
{"uic":3,"secondary_code":"BV", "track_reference": {"track_label": "V2"}},
508-
{"uic":8 ,"secondary_code":"BV", "track_reference": {"track_label": "V245"}},
507+
{"uic":3,"secondary_code":"BV", "track_reference": {"track_name": "V2"}},
508+
{"uic":8 ,"secondary_code":"BV", "track_reference": {"track_name": "V245"}},
509509
],
510510
"rolling_stock_is_thermal":true,
511511
"rolling_stock_loading_gauge":"G1",

0 commit comments

Comments
 (0)