File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -157,24 +157,6 @@ before creating the parent form using the ``PreloadedExtension`` class::
157157 be getting errors that are not related to the form you are currently
158158 testing but to its children.
159159
160- Forms Using Validation
161- ----------------------
162-
163- If your form uses the ``invalid_message `` or ``constraints `` option for validation, you need to
164- register the validation extension which provides these options.
165- Luckily Symfony provides a base test class which takes care of it, just extend
166- ``Symfony\Component\Form\Tests\Extension\Validator\Type\TypeTestCase ``::
167-
168- // tests/AppBundle/Form/Type/TestedTypeTest.php
169- namespace Tests\AppBundle\Form\Type;
170-
171- use Symfony\Component\Form\Tests\Extension\Validator\Type\TypeTestCase;
172-
173- class TestedTypeTest extends TypeTestCase
174- {
175- // ...
176- }
177-
178160Adding Custom Extensions
179161------------------------
180162
You can’t perform that action at this time.
0 commit comments