Skip to content

Commit

Permalink
Update text for Union Square Shuttles to replace 86 with 109 (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-sundstrom authored Dec 15, 2024
1 parent a2ce248 commit 6ba61c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/content/audio/no_service.ex
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ defmodule Content.Audio.NoService do
cond do
use_shuttle? -> " Use shuttle."
# Hardcoded for Union Square
use_routes? -> " Use routes 86, 87, or 91"
use_routes? -> " Use Routes 87, 91, or 109"
true -> ""
end

Expand Down
2 changes: 1 addition & 1 deletion lib/content/message/alert/use_routes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Content.Message.Alert.UseRoutes do

defimpl Content.Message do
def to_string(_) do
"Use Routes 86, 87, or 91"
"Use Routes 87, 91 or 109"
end
end
end
6 changes: 3 additions & 3 deletions test/signs/realtime_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1622,10 +1622,10 @@ defmodule Signs.RealtimeTest do
text_zone: "x"
}

expect_messages({"No Southbound svc", "Use Routes 86, 87, or 91"})
expect_messages({"No Southbound svc", "Use Routes 87, 91 or 109"})

expect_audios([{:ad_hoc, {"No Southbound service. Use routes 86, 87, or 91", :audio}}], [
{"No Southbound service. Use routes 86, 87, or 91", nil}
expect_audios([{:ad_hoc, {"No Southbound service. Use Routes 87, 91, or 109", :audio}}], [
{"No Southbound service. Use Routes 87, 91, or 109", nil}
])

Signs.Realtime.handle_info(:run_loop, sign)
Expand Down

0 comments on commit 6ba61c9

Please sign in to comment.