From a3e64529f44200e188113584cee8fc5adde33510 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Mon, 23 Dec 2024 10:22:32 -0500 Subject: [PATCH] fix(tests): Guarantee that TripPlannerTest headsigns are different from each other (#2287) --- test/dotcom_web/live/trip_planner_test.exs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/dotcom_web/live/trip_planner_test.exs b/test/dotcom_web/live/trip_planner_test.exs index 9e38d5c668..67816ebd03 100644 --- a/test/dotcom_web/live/trip_planner_test.exs +++ b/test/dotcom_web/live/trip_planner_test.exs @@ -226,8 +226,8 @@ defmodule DotcomWeb.Live.TripPlannerTest do conn: conn, params: params } do - trip_headsign_1 = "Headsign:#{Faker.App.name()}" - trip_headsign_2 = "Headsign:#{Faker.App.name()}" + trip_headsign_1 = "Headsign1" + trip_headsign_2 = "Headsign2" expect(OpenTripPlannerClient.Mock, :plan, fn _ -> {:ok, @@ -291,8 +291,8 @@ defmodule DotcomWeb.Live.TripPlannerTest do conn: conn, params: params } do - trip_headsign_1 = "Headsign:#{Faker.App.name()}" - trip_headsign_2 = "Headsign:#{Faker.App.name()}" + trip_headsign_1 = "Headsign1" + trip_headsign_2 = "Headsign2" expect(OpenTripPlannerClient.Mock, :plan, fn _ -> {:ok,