Skip to content

Commit 2ed1cc7

Browse files
authored
[Form] Fix undefined variable
1 parent 75f899d commit 2ed1cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
5959
$form = $this->factory->create(TestedType::class, $model);
6060

6161
$expected = new TestObject();
62-
// ...populate $object properties with the data stored in $formData
62+
// ...populate $expected properties with the data stored in $formData
6363

6464
// submit the data to the form directly
6565
$form->submit($formData);

0 commit comments

Comments
 (0)