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
…ing with Panther. (WedgeSama)
This PR was merged into the 6.4 branch.
Discussion
----------
[AssetMapper] Add info about troubleshooting assets loading with Panther.
Add more info on Panther tests due to PHP built in server.
When a requested URI is not a `.php` file nor a directory, the built in server will try to directly server the corresponding "file". But if the file does not exist AND must be handle by Symfony app, the built in server just return a 404.
- Can happen with any requested URI that look like a non `.php` file
- Case can happen with AssetMapper.
see
symfony/panther#630https://symfonycasts.com/screencast/last-stack/testing#debugging-by-opening-the-browserhttps://www.php.net/manual/en/features.commandline.webserver.php
Commits
-------
f2a68b5 Add info about troubleshooting assets loading with Panther. - Can happen with any requested uri that look like a non `.php` file - Case can happen with AssetMapper.
I found that using AssetMapper create problems with panther because files are not served.
You can solve it by creating a router.php:
Should we document it?
Credits: https://symfonycasts.com/screencast/last-stack/testing
The text was updated successfully, but these errors were encountered: