@@ -55,7 +55,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
55
55
];
56
56
57
57
$model = new TestObject();
58
- // $formData will retrieve data from the form submission; pass it as the second argument
58
+ // $model will retrieve data from the form submission; pass it as the second argument
59
59
$form = $this->factory->create(TestedType::class, $model);
60
60
61
61
$expected = new TestObject();
@@ -67,7 +67,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
67
67
// This check ensures there are no transformation failures
68
68
$this->assertTrue($form->isSynchronized());
69
69
70
- // check that $formData was modified as expected when the form was submitted
70
+ // check that $model was modified as expected when the form was submitted
71
71
$this->assertEquals($expected, $model);
72
72
}
73
73
@@ -88,7 +88,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
88
88
So, what does it test? Here comes a detailed explanation.
89
89
90
90
First you verify if the ``FormType `` compiles. This includes basic class
91
- inheritance, the ``buildForm() `` function and options resolution. This should
91
+ inheritance, the ``buildForm() `` method and options resolution. This should
92
92
be the first test you write::
93
93
94
94
$form = $this->factory->create(TestedType::class, $formData);
0 commit comments