File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,10 +165,10 @@ It often happens that you use some options that are added by
165165:doc: `form extensions </cookbook/form/create_form_type_extension >`. One of the
166166cases may be the ``ValidatorExtension `` with its ``invalid_message `` option.
167167The ``TypeTestCase `` only loads the core form extension, which means an
168- "Invalid option" exception will be raised if you try to test a class that
169- depends on other extensions. The
170- :method: `Symfony\\ Component\\ Form\\ Test\\ TypeTestCase::getExtensions ` allows you to
171- return a list of extensions to register::
168+ + : class: ` Symfony\\Component\\OptionsResolver\\Exception\\InvalidOptionsException `
169+ +will be raised if you try to test a class that depends on other extensions.
170+ +The :method: `Symfony\\ Component\\ Form\\ Test\\ TypeTestCase::getExtensions ` method
171+ +allows you to return a list of extensions to register::
172172
173173 // src/AppBundle/Tests/Form/Type/TestedTypeTests.php
174174 namespace AppBundle\Tests\Form\Type;
You can’t perform that action at this time.
0 commit comments