-
I have come across something really strange using pest that hasn't occured in the past. Right now I have in my project only the tests that Laravel Jetstream installs and after some changes I did to the models and routes I expected that running
(the output is not truncated, this is the only output I get from the 14 files in tests/Feature) I even tried specifying the test file using
in phpunit.xml but didn't get any php error. I also updated pest to the latest version but didn't fix the issue. Do you have any ideas what could be the problem or what should I do to find what causes it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the reason why and it wasn't pest's fault. Using subfission/cas to create a middleware seemed to cause the PHP script execution to exit and not throw an exception. As a result pest would also exit silently. I'm leaving this here in case someone else gets into a similar problem. I have already created a pull request which helps fix the problem: subfission/cas#124 |
Beta Was this translation helpful? Give feedback.
I found the reason why and it wasn't pest's fault. Using subfission/cas to create a middleware seemed to cause the PHP script execution to exit and not throw an exception. As a result pest would also exit silently. I'm leaving this here in case someone else gets into a similar problem. I have already created a pull request which helps fix the problem: subfission/cas#124