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::
137137 protected function getExtensions()
138138 {
139139 $childType = new TestChildType();
140+
140141 return array(new PreloadedExtension(array(
141142 $childType->getName() => $childType,
142143 ), array()));
@@ -165,7 +166,7 @@ It often happens that you use some options that are added by
165166cases may be the ``ValidatorExtension `` with its ``invalid_message `` option.
166167The ``TypeTestCase `` loads only the core form extension so an "Invalid option"
167168exception 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::
169170
170171 // src/AppBundle/Tests/Form/Type/TestedTypeTests.php
171172 namespace AppBundle\Tests\Form\Type;
You can’t perform that action at this time.
0 commit comments