Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): Guarantee that TripPlannerTest headsigns are different from each other #2287

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

joshlarson
Copy link
Contributor

Turns out, sometimes Faker.App.name() will return the exact same value twice in a row!

When that happens, trip_headsign_1 and trip_headsign_2 are the same as each other, which the test assumes is not true.

@joshlarson joshlarson requested a review from a team as a code owner December 20, 2024 23:57
@joshlarson joshlarson enabled auto-merge (squash) December 20, 2024 23:57
@joshlarson joshlarson merged commit a3e6452 into main Dec 23, 2024
20 checks passed
@joshlarson joshlarson deleted the jdl/fix-trip-planner-test-headsigns branch December 23, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants