A passing test isn't enough. When your authorization logic can return a 403 for multiple reasons, how do you know your test is covering what you think it is?
It this video, I'll walk through a real policy example and show you a 10-second technique that gives you absolute confidence you are actually testing what you think you are testing.
And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.
Here to help,
Joel
P.S. Want to build this kind of confidence across your entire Laravel application? Check out our testing workshop.