Testing Repeater component
I'm trying to test a Repeater component: https://filamentphp.com/docs/3.x/forms/fields/repeater#testing-repeaters
It says I should add
$undoRepeaterFake = Repeater::fake();
at the beginning of the test.
But the fake()
method doens't exist on the Repeater component class:
Method Filament\Forms\Components\Repeater::fake does not exist.
Any idea what I'm missing?Solution:Jump to solution
run
composer update -W
this is available after v3.2.77
https://github.com/filamentphp/filament/discussions/12761...GitHub
v3.2.77 · filamentphp filament · Discussion #12761
What's Changed Feat: Add search value to Select field's relationship modifyQueryUsing by @takashato in #12711 Trix v2 - update by @leandrocfe in #12715 Update vi translations by @datlechin ...
2 Replies
Solution
run
composer update -W
this is available after v3.2.77
https://github.com/filamentphp/filament/discussions/12761GitHub
v3.2.77 · filamentphp filament · Discussion #12761
What's Changed Feat: Add search value to Select field's relationship modifyQueryUsing by @takashato in #12711 Trix v2 - update by @leandrocfe in #12715 Update vi translations by @datlechin ...
@Leandro Ferreira thanks 😅