File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ allows you to return a list of extensions to register::
174
174
175
175
use AppBundle\Form\Type\TestedType;
176
176
use Symfony\Component\Form\Extension\Validator\ValidatorExtension;
177
+ use Symfony\Component\Form\Form;
177
178
use Symfony\Component\Form\Forms;
178
179
use Symfony\Component\Form\FormBuilder;
179
180
use Symfony\Component\Form\Test\TypeTestCase;
@@ -193,7 +194,7 @@ allows you to return a list of extensions to register::
193
194
->will($this->returnValue(new ConstraintViolationList()));
194
195
$validator
195
196
->method('getMetadataFor')
196
- ->will($this->returnValue(new ClassMetadata('Symfony\Component\ Form\Form' )));
197
+ ->will($this->returnValue(new ClassMetadata(Form::class )));
197
198
198
199
return array(
199
200
new ValidatorExtension($validator),
You can’t perform that action at this time.
0 commit comments