You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #6661 Fix for issue #6519 (Pretty URLs in tests) (Matthieu Renard)
This PR was squashed before being merged into the 4.x branch.
Discussion
----------
Fix for issue #6519 (Pretty URLs in tests)
When using pretty URLs in tests, the AdminUrlGenerator fails to provide the pretty URLs because it checks the use of pretty URLs through the context, which is null when doing requests from tests. This fixes this behaviour by checking the use of pretty URLs directly from the UrlGenerator (Router), which is what is done by the context anyway.
Tests have been adapted to use pretty URLs.
<!--
Thanks for your contribution! If you are proposing a new feature that is complex,
please open an issue first so we can discuss about it.
Note: all your contributions adhere implicitly to the MIT license
-->
Commits
-------
8fdbca1 Fix for issue #6519 (Pretty URLs in tests)
0 commit comments