8000 minor #16312 [Testing] Minor tweaks in the main testing article (javi… · symfony/symfony-docs@11dbb4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 11dbb4d

Browse files
committed
minor #16312 [Testing] Minor tweaks in the main testing article (javiereguiluz)
This PR was squashed before being merged into the 5.3 branch. Discussion ---------- [Testing] Minor tweaks in the main testing article `@wouterj` do you know why we use `.. code-block:: env` instead of `.. code-block:: bash` for the highlighting of `.env` files? I don't know if `env` highlighting is standard or if we had to do something to support it ... but `bash` seems more natural and it should be standard. Thanks. Commits ------- 45cc1cf [Testing] Minor tweaks in the main testing article
2 parents 764d67c + 45cc1cf commit 11dbb4d

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