From 576262415fae02d8676dfec8a71c8fe285b3b7f4 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:01:46 -0500 Subject: [PATCH] test(CheckMonitoredTripTest): Update tests with new notifi text. --- .../middleware/tripmonitor/jobs/CheckMonitoredTripTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTripTest.java b/src/test/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTripTest.java index e84e3dae4..990e778a2 100644 --- a/src/test/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTripTest.java +++ b/src/test/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTripTest.java @@ -505,7 +505,7 @@ public void canMakeOTPRequestAndResolveUnmatchedItinerary() throws Exception { "A notification should be generated for the next trip not being possible" ); assertEquals( - "Your itinerary was not found in trip planner results for today! Please check realtime conditions and plan a new trip.", + "Your itinerary was not found in today's trip planner results! Please check real-time conditions and plan a new trip.", mockCheckMonitoredTrip.notifications.iterator().next().body, "The notification should have the appropriate message when the next trip is not possible" ); @@ -585,7 +585,7 @@ public void canMakeOTPRequestAndResolveNoLongerPossibleTrip() throws Exception { "A notification should be generated for the next trip not being possible" ); assertEquals( - "Your itinerary is no longer possible any monitored day of the week! Please plan and save a new trip.", + "Your itinerary is no longer possible on any monitored day of the week! Please plan and save a new trip.", mockCheckMonitoredTrip.notifications.iterator().next().body, "The notification should have the appropriate message when the trip is no longer possible" );