arch test example

How this pest arch test should be changed to work correctly? <?php use Filament\Resources\Resource; arch('resources have UI attributes') ->expect('App\Filament\Resources*') ->classes() ->toExtend(Resource::class) ->toHaveProperties( [ 'modelLabel', 'navigationGroup', 'navigationIcon', 'pluralModelLabel', 'recordTitleAttribute' ] ) ->not->toHaveProperty('label’);
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server