8000 [Testing] Minor tweaks in the main testing article · symfony/symfony-docs@45cc1cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 45cc1cf

Browse files
committed
[Testing] Minor tweaks in the main testing article
1 parent 764d67c commit 45cc1cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ If you need to customize some environment variables for your tests (e.g. the
222222
``DATABASE_URL`` used by Doctrine), you can do that by overriding anything you
223223
need in your ``.env.test`` file:
224224

225-
.. code-block:: text
225+
.. code-block:: env
226226
227227
# .env.test
228228
@@ -268,7 +268,7 @@ the container is stored in ``static::getContainer()``::
268268
$newsletterGenerator = $container->get(NewsletterGenerator::class);
269269
$newsletter = $newsletterGenerator->generateMonthlyNews(...);
270270

271-
$this->assertEquals(..., $newsletter->getContent());
271+
$this->assertEquals('...', $newsletter->getContent());
272272
}
273273
}
274274

0 commit comments

Comments
 (0)
0