Closed Rev8Crew closed 1 year ago
How does this issue relate to the laravel-bridge
package?
Anyway, you can try to set the following values in your phpunit.xml
file:
<env name="APP_ENV" value="testing" force="true"/>
<server name="APP_ENV" value="testing"/>
All should be fine after that.
How does this issue relate to the
laravel-bridge
package?
Because this issue occurs only when I use roadrunner and in my project the only package that work with roadrunner is this package:)
Describe the bug
When I run php artisan test, I expect that my env is testing, but in real env is local. I testing this with https://github.com/tarampampam/laravel-roadrunner-in-docker project
Expected behaviour
env must be taken from $_ENV
Actual behaviour
env taken from .env
Steps to reproduce
download https://github.com/tarampampam/laravel-roadrunner-in-docker
System information
RoadRunner configuration file content
Package configuration file content
Additional context
output