Skip to content

Commit

Permalink
fixup! editoast: refacto path item location to add track and label in…
Browse files Browse the repository at this point in the history
…formation
  • Loading branch information
younesschrifi committed Nov 27, 2024
1 parent 862d35b commit ea32b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editoast/src/views/path/pathfinding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ea32b24

Please sign in to comment.