I've tried dumping every where but it just doesn't seem to hit my policy class at all.
Jun 15, 2017
4
Level 54
Roles and Permissions and Policy Classes
I'm really trying to figure out with my roles and permissions working with my Policy class why I"m not getting a dd() in my policy create method when I run my test.
I've debugged to the point where everything works until it hits the endpoint in my test and doesn't return a 200 since they admin user has the permission to see the page.
Any ideas?
https://gist.github.com/JeffreyDavidson/49fd1cb511317b3ee6493e9dcd61e2cb
Please or to participate in this conversation.