]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/5827'
authorTom Hughes <tom@compton.nu>
Thu, 20 Mar 2025 16:32:21 +0000 (16:32 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 20 Mar 2025 16:32:21 +0000 (16:32 +0000)
test/system/directions_test.rb

index a0ca87ce7150c19b66af1983c8529fb8ceaecb32..1c4edb60c023875ed1e3495fb16a860730a8c2c6 100644 (file)
@@ -38,8 +38,8 @@ class DirectionsSystemTest < ApplicationSystemTestCase
       return Promise.resolve({
         line: points,
         steps: [
-          [points[0],  8, "<b>1.</b> #{start_instruction}", distance, points],
-          [points[1], 14, "<b>2.</b> #{finish_instruction}", 0, [points[1]]]
+          [points[0], "start", "<b>1.</b> #{start_instruction}", distance, points],
+          [points[1], "destination", "<b>2.</b> #{finish_instruction}", 0, [points[1]]]
         ],
         distance,
         time