Create pest tests
The following code gives a 404, which I don't understand why.
My URL is: http://localhost/emr/admission-prices
Any suggestions?
4 Replies
$this->get('emr/admission-prices')
?@Leandro Ferreira this gives me a 302 instead
You need to authenticate a user
https://filamentphp.com/docs/3.x/panels/testing#getting-started
You should also allow users to access a panel
https://filamentphp.com/docs/3.x/panels/installation#allowing-users-to-access-a-panel
@Leandro Ferreira thanks you! I managed to resolve the issue...