diff --git a/tests/Unit/Livewire/Links/EditTest.php b/tests/Unit/Livewire/Links/EditTest.php index 995f47298..3e4fb9b64 100644 --- a/tests/Unit/Livewire/Links/EditTest.php +++ b/tests/Unit/Livewire/Links/EditTest.php @@ -64,10 +64,9 @@ $component = Livewire::actingAs($user)->test(Edit::class); - $component - ->call('edit', $link->id) - ->set('url', 'https://example.com') - ->call('update'); + $component->call('edit', $link->id); + $component->set('url', 'https://example.com'); + $component->call('update'); $link->refresh(); @@ -90,10 +89,9 @@ $component = Livewire::actingAs($user)->test(Edit::class); - $component - ->call('edit', $link->id) - ->set('description', 'Example') - ->call('update'); + $component->call('edit', $link->id); + $component->set('description', 'Example'); + $component->call('update'); $link->refresh();