Skip to content

Commit a624ca3

Browse files
committed
[#9413] some minor tweaks
1 parent 95f9348 commit a624ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

form/unit_testing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ The simplest ``TypeTestCase`` implementation looks like the following::
6262
// submit the data to the form directly
6363
$form->submit($formData);
6464

65-
$objectToCompare = $form->getData();
6665
$this->assertTrue($form->isSynchronized());
66+
67+
// check that $objectToCompare was modified as expected when the form was submitted
6768
$this->assertEquals($object, $objectToCompare);
6869

6970
$view = $form->createView();

0 commit comments

Comments
 (0)