Skip to content

Commit e561965

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Added a caution message about unit testing form types
2 parents 6018e38 + 6378000 commit e561965

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

form/unit_testing.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
How to Unit Test your Forms
55
===========================
66

7+
.. caution::
8+
9+
This article is intended for developers who create
10+
:doc:`custom form types </form/create_custom_field_type>`. If you are using
11+
the :doc:`built-in Symfony form types </reference/forms/types>` or the form
12+
types provided by third-party bundles, you don't need to unit test them.
13+
714
The Form component consists of 3 core objects: a form type (implementing
815
:class:`Symfony\\Component\\Form\\FormTypeInterface`), the
916
:class:`Symfony\\Component\\Form\\Form` and the

0 commit comments

Comments
 (0)