File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ allows you to return a list of extensions to register::
196
196
$this->validator
197
197
->method('validate')
198
198
->will($this->returnValue(new ConstraintViolationList()));
199
- $this->validator
199
+ $this->validator
200
200
->method('getMetadataFor')
201
201
->will($this->returnValue(new ClassMetadata(Form::class)));
202
202
@@ -222,15 +222,14 @@ a good opportunity to use them::
222
222
223
223
class TestedTypeTest extends TypeTestCase
224
224
{
225
-
225
+ /**
226
+ * @dataProvider getValidTestData
227
+ */
226
228
public function testForm($data)
227
229
{
228
230
// ... your test
229
231
}
230
-
231
- /**
232
- * @dataProvider getValidTestData
233
- */
232
+
234
233
public function getValidTestData()
235
234
{
236
235
return array(
You can’t perform that action at this time.
0 commit comments