8000 Minor fixes · symfony/symfony-docs@0510d03 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0510d03

Browse files
committed
Minor fixes
1 parent de83642 commit 0510d03

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

form/unit_testing.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
7878

7979
// The initial data may be used to compute custom view variables
8080
$view = $this->factory->create(TestedType::class, $formData)
81-
881D ->createView()
82-
;
81+
->createView();
8382

8483
$this->assertArrayHasKey('custom_var', $view->vars);
8584
$this->assertSame('expected value', $view->vars['custom_var']);
@@ -233,7 +232,7 @@ allows you to return a list of extensions to register::
233232

234233
.. note::
235234

236-
By Default only the
235+
By default only the
237236
:class:`Symfony\\Component\\Form\\Extension\\Core\\CoreExtension` is
238237
registered in tests. You can find other extensions from the Form component
239238
in the ``Symfony\Component\Form\Extension`` namespace.

0 commit comments

Comments
 (0)
0