Open madnowruzi opened 5 years ago
Any ideas on how to fix that? I would love a global expectException
instead.
@nunomaduro We prob. just have to create our own exception handler?
I don't think so, I would see something like:
function expectException(callable $callback): void
// a try catch inside.
this is the way i wrote my test:
and it will fail just showing the exception class and message when it shouldn't fail at all.