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::
196196 $this->validator
197197 ->method('validate')
198198 ->will($this->returnValue(new ConstraintViolationList()));
199- $this->validator
199+ $this->validator
200200 ->method('getMetadataFor')
201201 ->will($this->returnValue(new ClassMetadata(Form::class)));
202202
@@ -222,15 +222,14 @@ a good opportunity to use them::
222222
223223 class TestedTypeTest extends TypeTestCase
224224 {
225-
225+ /**
226+ * @dataProvider getValidTestData
227+ */
226228 public function testForm($data)
227229 {
228230 // ... your test
229231 }
230-
231- /**
232- * @dataProvider getValidTestData
233- */
232+
234233 public function getValidTestData()
235234 {
236235 return array(
You can’t perform that action at this time.
0 commit comments