After updating to Laravel 8 I suddenly had my test suite failing because telescope would not be disabled properly by `phpunit.xml` anymore.
This changes fixed my test suite.
I've also created a clean Laravel 8 project and added some tests to demonstrate the issue:
908d3405b8
Maybe this needs to be addressed in PHPUnit. However I'm adding this workaround here because it's a viable solution IMHO.
Maybe should add a note on this in the docs and be done with it…?
1.2 KiB
1.2 KiB