From 71624370c05ed9e5572fa031939c23b34e0f2c40 Mon Sep 17 00:00:00 2001 From: Jeffrey Davidson Date: Thu, 27 Jul 2023 09:34:41 -0400 Subject: [PATCH] Add more arch tests --- tests/Feature/ArchitectureTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/Feature/ArchitectureTest.php b/tests/Feature/ArchitectureTest.php index 12b453f14..509e96f10 100644 --- a/tests/Feature/ArchitectureTest.php +++ b/tests/Feature/ArchitectureTest.php @@ -30,7 +30,14 @@ 'Illuminate\Database\Eloquent\Builder', ]); +test('enums') + ->expect('App\Enums') + ->toBeEnums(); test('strict types') ->expect('App') ->toUseStrictTypes(); + +test('model traits') + ->expect('App\Models\Concerns') + ->toBeTraits();