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
I think this is defaulted to development because it is replaced with production in-place during the build process. I'd say that @mattstauffer's solution is probably the easiest way to resolve this. 🤔
In Laravel, I would normally use one of these methods to check if I'm in a testing environment:
\App\environment() === 'testing'
config('app.env') === 'testing'
\App::runningUnitTests()
But in Laravel Zero, the first two come back as
development
and the third isfalse
.What's the Laravel Zero idiomatic way to fix this?
Thanks!
The text was updated successfully, but these errors were encountered: