We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71b16b1 + a624ca3 commit 475e668Copy full SHA for 475e668
form/unit_testing.rst
@@ -62,8 +62,9 @@ The simplest ``TypeTestCase`` implementation looks like the following::
62
// submit the data to the form directly
63
$form->submit($formData);
64
65
- $objectToCompare = $form->getData();
66
$this->assertTrue($form->isSynchronized());
+
67
+ // check that $objectToCompare was modified as expected when the form was submitted
68
$this->assertEquals($object, $objectToCompare);
69
70
$view = $form->createView();
0 commit comments