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