In the phpunit.xml file there are the following three lines:
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
Would changing them to false modify this behaviour?
Does anyone ever found a solution for this. I have exact same problem right now. It's been 2 days now with no solution.
Help plissss I'm going crazy
Kevin
I solved this problem by changing the exception handler by adding this public function render($request, Exception $e) { if(env('APP_ENV') == 'testing') throw $e; return parent::render($request, $e); }
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community