From 6ba61c96c62d57c5319123bf0cc27767e6fb7fd2 Mon Sep 17 00:00:00 2001 From: Robbie Sundstrom Date: Sun, 15 Dec 2024 01:59:34 -0500 Subject: [PATCH] Update text for Union Square Shuttles to replace 86 with 109 (#857) --- lib/content/audio/no_service.ex | 2 +- lib/content/message/alert/use_routes.ex | 2 +- test/signs/realtime_test.exs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/content/audio/no_service.ex b/lib/content/audio/no_service.ex index 01b851bc5..63dcb4958 100644 --- a/lib/content/audio/no_service.ex +++ b/lib/content/audio/no_service.ex @@ -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 diff --git a/lib/content/message/alert/use_routes.ex b/lib/content/message/alert/use_routes.ex index b1d4f2752..d8b18b09c 100644 --- a/lib/content/message/alert/use_routes.ex +++ b/lib/content/message/alert/use_routes.ex @@ -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 diff --git a/test/signs/realtime_test.exs b/test/signs/realtime_test.exs index 8c5dcab76..508ee768c 100644 --- a/test/signs/realtime_test.exs +++ b/test/signs/realtime_test.exs @@ -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)