Support the ongoing development of Laravel.io →
posted 9 years ago
Testing
Last updated 2 years ago.
0

did you ever find a solution to this? driving me nuts

0

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?

0

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

0

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); }

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.