File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ The simplest ``TypeTestCase`` implementation looks like the following::
54
54
'test2' => 'test2',
55
55
];
56
56
57
- $formData = new TestObject();
57
+ $objectToCompare = new TestObject();
58
58
// $formData will retrieve data from the form submission; pass it as the second argument
59
- $form = $this->factory->create(TestedType::class, $formData );
59
+ $form = $this->factory->create(TestedType::class, $objectToCompare );
60
60
61
61
$expected = new TestObject();
62
62
// ...populate $object properties with the data stored in $formData
@@ -68,7 +68,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
68
68
$this->assertTrue($form->isSynchronized());
69
69
70
70
// check that $formData was modified as expected when the form was submitted
71
- $this->assertEquals($expected, $formData );
71
+ $this->assertEquals($expected, $objectToCompare );
72
72
}
73
73
74
74
public function testCustomFormView()
You can’t perform that action at this time.
0 commit comments