6 months ago

Testing Gate Policies

Posted 6 months ago by chrisblackwell

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.