diff --git a/tests/src/Tables/AttachActionTest.php b/tests/src/Tables/AttachActionTest.php index 42af6c74f5..9e00b672c3 100644 --- a/tests/src/Tables/AttachActionTest.php +++ b/tests/src/Tables/AttachActionTest.php @@ -1,5 +1,6 @@ assertTableAttachActionExists('attachActionExists') - ->assertTableAttachActionDoesNotExist('attachActionDoesNotExist'); + ->assertTableActionExists('attachActionExists', fn (AttachAction $action) => true) + ->assertTableActionDoesNotExist('attachActionDoesNotExist'); }); it('can have a multiple select', function () { livewire(PostsTable::class) - ->assertTableAttachActionIsMultipleSelect('attachActionIsMultiple', true) - ->assertTableAttachActionIsNotMultipleSelect('attachActionIsNotMultiple', false); + ->assertTableActionExists('attachActionIsMultiple', fn (AttachAction $action) => $action->isMultiple()) + ->assertTableActionExists('attachActionIsNotMultiple', fn (AttachAction $action) => ! $action->isMultiple()); });