Skip to content

Conversation

@rensieeee
Copy link

The unit test for the created LoginController does an assertion on the http status code after redirecting. Since it's not required to have a root route, this assertion could fail if there is no root configured.

The functionality works as intended if the redirect works, there's no real benefit to further check the status of the page its redirected to. This functionality should be tested in the unit test of the root controller.

@rensieeee
Copy link
Author

This solution was discussed in symfony/symfony#62245

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.

1 participant