Skip to content

Commit

Permalink
test(CheckMonitoredTripTest): Update tests with new notifi text.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Nov 30, 2023
1 parent 58abc20 commit 5762624
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down Expand Up @@ -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"
);
Expand Down

0 comments on commit 5762624

Please sign in to comment.