inspector-apm/inspector-laravel

Using during tests with PestPhp

Opened this issue · 0 comments

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:

  1. 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