Skip to content

Conversation

jordyvanderhaegen
Copy link
Collaborator

A recent change in the Laravel framework (laravel/framework#56920) has caused the testSetLocale test of this package to fail.

After some digging, it turns out the test suite was registering routes multiple times. This happens via the setRoutes method, which is called in both refreshApplication and getEnvironmentSetUp.

The recent Laravel change modified how routes are prioritized, meaning the last registered route is no longer guaranteed to be matched first. While the framework update caused this issue to pop up, the underlying problem has existed in this package for some time.

This fixes #943.

@jordyvanderhaegen
Copy link
Collaborator Author

jordyvanderhaegen commented Oct 20, 2025

@niels-numbers you mind taking a peek at this PR?

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.

Test in current master repo has an error (test_Set_Locale)

1 participant