[plugins-dev] test: isDeferred does not exist
any idea why I am getting
Method Filament\Panel::isDeferred does not exist.
when testing a plugin!
I think I am missing a provider or something?!
the test:
result:
the same testing was green with v2.
full changes:
https://github.com/lara-zeus/bolt/pull/106Solution:Jump to solution
You’ll need to update the providers in your TestCase have a look here. https://github.com/filamentphp/plugin-skeleton
GitHub
GitHub - filamentphp/plugin-skeleton: A package skeleton for develo...
A package skeleton for developing Filament plugins. - GitHub - filamentphp/plugin-skeleton: A package skeleton for developing Filament plugins.
3 Replies
Solution
You’ll need to update the providers in your TestCase have a look here. https://github.com/filamentphp/plugin-skeleton
GitHub
GitHub - filamentphp/plugin-skeleton: A package skeleton for develo...
A package skeleton for developing Filament plugins. - GitHub - filamentphp/plugin-skeleton: A package skeleton for developing Filament plugins.
Look at the 3.x branch
thanks @awcodes
I compear the providers, i added
I compear the providers, i added
Filament\Panel::class
removed it and I got GREEEEEN 🙂