From 2ed1cc77a1898e8023e2a15e2ded5142f91a179e Mon Sep 17 00:00:00 2001 From: Maxime Pinot Date: Wed, 15 Jun 2022 09:44:43 +0200 Subject: [PATCH] [Form] Fix undefined variable --- form/unit_testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form/unit_testing.rst b/form/unit_testing.rst index c8996787017..2b56b2fe07d 100644 --- a/form/unit_testing.rst +++ b/form/unit_testing.rst @@ -59,7 +59,7 @@ The simplest ``TypeTestCase`` implementation looks like the following:: $form = $this->factory->create(TestedType::class, $model); $expected = new TestObject(); - // ...populate $object properties with the data stored in $formData + // ...populate $expected properties with the data stored in $formData // submit the data to the form directly $form->submit($formData);