diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index c2408d46..26e706a9 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -162,5 +162,9 @@ public function execute(): void 'exit', 'ray', ])->not->toBeUsed(); + + $this->expectations[] = expect('App\Policies') + ->classes() + ->toHaveSuffix('Policy'); } }