File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -160,11 +160,10 @@ before creating the parent form using the ``PreloadedExtension`` class::
160160Forms Using Validation
161161----------------------
162162
163- If your forms uses the ``invalid_message `` or ``constraints `` option for validation, you need to
164- register the validation extension which provides this options.
165- Luckily Symfony provides a custom test class which does this for you.
166- In order to have these options registered, your test needs to extend the
167- :class: `Symfony\\ Component\\ Form\\ Tests\\ Extension\\ Validator\\ Type\\ TypeTestCase `
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 ``
168167class::
169168
170169 // tests/AppBundle/Form/Type/TestedTypeTest.php
You can’t perform that action at this time.
0 commit comments