Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cfa3bc4

Browse filesBrowse files
committed
Remove excessive pluses
1 parent d47981d commit cfa3bc4
Copy full SHA for cfa3bc4

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎cookbook/form/unit_testing.rst

Copy file name to clipboardExpand all lines: cookbook/form/unit_testing.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
166166
cases may be the ``ValidatorExtension`` with its ``invalid_message`` option.
167167
The ``TypeTestCase`` only loads the core form extension, 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::
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;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.