File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -164,11 +164,11 @@ Adding Custom Extensions
164
164
It often happens that you use some options that are added by
165
165
:doc: `form extensions </cookbook/form/create_form_type_extension >`. One of the
166
166
cases may be the ``ValidatorExtension `` with its ``invalid_message `` option.
167
- The ``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::
167
+ The ``TypeTestCase `` only loads the core form extensions , which means an
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::
172
172
173
173
// src/AppBundle/Tests/Form/Type/TestedTypeTests.php
174
174
namespace AppBundle\Tests\Form\Type;
You can’t perform that action at this time.
0 commit comments