File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ before creating the parent form using the ``PreloadedExtension`` class::
137
137
protected function getExtensions()
138
138
{
139
139
$childType = new TestChildType();
140
+
140
141
return array(new PreloadedExtension(array(
141
142
$childType->getName() => $childType,
142
143
), array()));
@@ -165,7 +166,7 @@ It often happens that you use some options that are added by
165
166
cases may be the ``ValidatorExtension `` with its ``invalid_message `` option.
166
167
The ``TypeTestCase `` loads only the core form extension so an "Invalid option"
167
168
exception will be raised if you try to use it for testing a class that depends
168
- on other extensions. You need add those extensions to the factory object::
169
+ on other extensions. You need to add those extensions to the factory object::
169
170
170
171
// src/AppBundle/Tests/Form/Type/TestedTypeTests.php
171
172
namespace AppBundle\Tests\Form\Type;
You can’t perform that action at this time.
0 commit comments