Skip to content

Commit

Permalink
Add more arch tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDavidson committed Jul 27, 2023
1 parent 6d03695 commit 7162437
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Feature/ArchitectureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 7162437

Please sign in to comment.