Running pest:dusk
from CLI not changing the APP_ENV
?
#864
Unanswered
rabrowne85
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to get my dusk test suite to run, but whenever I run:
It doesn't seem to change the
APP_ENV
totesting
. As such the incorrect.env
is being loaded.I think in my old 'valet' method I was able to add a
fastcgi_param APP_ENV testing;
to the nginx configuration file for the site and then it would always load the correct environment files.However, this doesn't seem to work for the cli. The only 'solution' I've been able to find is to set the value before the call:
Is there something that I'm missing to do this without having to add the command line variable?
Beta Was this translation helpful? Give feedback.
All reactions