8000 Added note about using the Validator TypeTestCase in form unit testing by pierredup · Pull Request #7587 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Added note about using the Validator TypeTestCase in form unit testing #7587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 10, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typos
  • Loading branch information
pierredup committed Jun 24, 2017
commit d4979eb9f71b541eea4cdb6c47c17b68fb3660d7
2 changes: 1 addition & 1 deletion form/unit_testing.rst
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Forms Using Validation
If your forms uses the ``invalid_message`` or ``constraints`` option for validation, you need to
register the validation extension which provides this options.
Luckily Symfony provides a custom test class which does this for you.
In order to have this option registered, your test needs to extend from the
In order to have these options registered, your test needs to extend the
:class:`Symfony\\Component\\Form\\Tests\\Extension\\Validator\\Type\\TypeTestCase`
class::

Expand Down
0