File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
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)