diff --git a/tests/UserInterface/Livewire/ToastTest.php b/tests/UserInterface/Livewire/ToastTest.php index 95e1972a..0a433031 100644 --- a/tests/UserInterface/Livewire/ToastTest.php +++ b/tests/UserInterface/Livewire/ToastTest.php @@ -7,10 +7,7 @@ it('can_see_a_toast', function () { Livewire::test(Toast::class) - ->dispatch('toastMessage', [ - 'message' => 'Hello', - 'type' => 'info', - ]) + ->dispatch('toastMessage', 'Hello', 'info') ->assertSee('Hello') // body ->assertSee('button') // close button ->assertSee('span'); // icon