Skip to content

Commit

Permalink
fix(tests): Guarantee that TripPlannerTest headsigns are different fr…
Browse files Browse the repository at this point in the history
…om each other (#2287)
  • Loading branch information
joshlarson authored Dec 23, 2024
1 parent f7db31e commit a3e6452
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/dotcom_web/live/trip_planner_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a3e6452

Please sign in to comment.