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);