We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80e664a commit 9d1eab7Copy full SHA for 9d1eab7
form/unit_testing.rst
@@ -196,7 +196,7 @@ allows you to return a list of extensions to register::
196
$this->validator
197
->method('validate')
198
->will($this->returnValue(new ConstraintViolationList()));
199
- $this->validator
+ $this->validator
200
->method('getMetadataFor')
201
->will($this->returnValue(new ClassMetadata(Form::class)));
202
@@ -222,15 +222,14 @@ a good opportunity to use them::
222
223
class TestedTypeTest extends TypeTestCase
224
{
225
-
+ /**
226
+ * @dataProvider getValidTestData
227
+ */
228
public function testForm($data)
229
230
// ... your test
231
}
- /**
232
- * @dataProvider getValidTestData
233
- */
+
234
public function getValidTestData()
235
236
return array(
0 commit comments