Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

osama_abdullah's avatar

when i test autherization in laravel nova using php unit, my policies are not getting hit

i want to write test for authorization but wen i send requests from php unit, it only hits that default gate that is predefined in novaServiceProvider. so who can i make php unit requests hit policies as expected

0 likes
0 replies

Please or to participate in this conversation.