Frittenfred
how to test a view modal action?
then i'm getting when i test the action directly this error :
FAILED Tests\Feature\Filament\UserResourceTest > a guest can not access user details ComponentNotFoundException
Unable to find component: [Filament\Tables\Actions\ViewAction]
i don't know if it is possible to render the action without the table ?
so when i test if i can open a ListUsers::class and then the ViewAction as Admin, it works, but when i do it as user i get this error :
FAILED Tests\Feature\Filament\UserResourceTest > a guest can not access user details Error
Call to a member function getTable() on null
6 replies
how to test a view modal action?
yeah i have laravel policys and that works great, but i want to use tests to be sure that everything works like it should. and that, even if can not open a list as table, i also can not open a view modal as action without accessing the table/listing
6 replies
GGermanSimRacing
•Created by inland-turquoise on 8/1/2021 in #smalltalk
Formel 1
Lol. Bisher gab es keine einzige Aussage zu einem illegalen Wagen von Max. Nur von Hamilton.
20362 replies
GGermanSimRacing
•Created by itchy-amethyst on 8/1/2021 in #smalltalk
Formel 1
Man muss anmerken dass der Hase logischerweise schneller ist, der Gegner ist ja ein Williams.
20362 replies