Testing Gate Policies
Does anyone know how to test a GatePolicy directly?
For example, I want to test that my UserPolicy works a certain way given permissions. I don't want to have to hit a Controller just for testing, just testing the Policy logic is right.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!