diff --git a/packages/forms/docs/09-testing.md b/packages/forms/docs/09-testing.md index 21dfec5112..8ea0d1d9ab 100644 --- a/packages/forms/docs/09-testing.md +++ b/packages/forms/docs/09-testing.md @@ -113,7 +113,7 @@ use function Pest\Livewire\livewire; it('has a title field', function () { livewire(CreatePost::class) ->assertFormFieldExists('title', function (TextInput $field): bool { - return $input->isDisabled(); + return $field->isDisabled(); }); }); ```