filament-tests
filament-tests copied to clipboard
Resource namespace hardcoded in the stub
Currently the resource and page namespaces are hardcoded in the stub, so a test for a resource in a non-standard directory, or cluster, will not import the correct classes.
Filament::getResources()
returns the FQDN to the resource, which should be stored and used to import the correct resource. Pages\ListForms
, Pages\CreateForm
and Pages\EditForm
can be appended to this to probably get the correct page classes.