Using during tests with PestPhp
Opened this issue · 0 comments
oleghalin commented
Describe the bug
If run test using pest we can face issue with config container instance that its not resolved yet.
To Reproduce
Steps to reproduce the behavior:
- Run any test with Pest
Expected behavior
No erors
Additional context
Was able to fix it with wrapping into app()->env('testing') condition. I think it makes sense to skip this env for such tool. I can open PR which fixes it