Skip to content

Commit 827d57d

Browse files
committed
minor #16254 Correct spelling & grammar in 4.4 testing.rst (gnito-org)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 testing.rst <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 5d4222a Correct spelling & grammar in 4.4 testing.rst
2 parents 603c13c + 5d4222a commit 827d57d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

testing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ After the library is installed, try running PHPUnit:
2929
3030
$ php ./vendor/bin/phpunit
3131
32-
This commands automatically runs your application's tests. Each test is a
32+
This command automatically runs your application tests. Each test is a
3333
PHP class ending with "Test" (e.g. ``BlogControllerTest``) that lives in
3434
the ``tests/`` directory of your application.
3535

@@ -147,7 +147,7 @@ usually defined in the ``KERNEL_CLASS`` environment variable
147147

148148
If your use case is more complex, you can also override the
149149
``getKernelClass()`` or ``createKernel()`` methods of your functional
150-
test, which take precedence over the ``KERNEL_CLASS`` env var.
150+
test, which takes precedence over the ``KERNEL_CLASS`` env var.
151151

152152
Set-up your Test Environment
153153
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -376,7 +376,7 @@ generate an empty fixture class:
376376
The class name of the fixtures to create (e.g. AppFixtures):
377377
> ProductFixture
378378
379-
Then you modify use this class to load new entities in the database. For
379+
Then you modify and use this class to load new entities in the database. For
380380
instance, to load ``Product`` objects into Doctrine, use::
381381

382382
// src/DataFixtures/ProductFixture.php
@@ -858,7 +858,7 @@ Request Assertions
858858
Asserts the given :ref:`request attribute <component-foundation-attributes>`
859859
is set to the expected value.
860860
``assertRouteSame($expectedRoute, array $parameters = [], string $message = '')``
861-
Asserts the request matched the given route and optionally route parameters.
861+
Asserts the request matches the given route and optionally route parameters.
862862

863863
Browser Assertions
864864
..................
@@ -909,7 +909,7 @@ Mailer Assertions
909909
``assertEmailAttachmentCount(RawMessage $email, int $count, string $message = '')``
910910
Asserts that the given email has the expected number of attachments. Use
911911
``getMailerMessage(int $index = 0, string $transport = null)`` to
912-
retrievea specific email by index.
912+
retrieve a specific email by index.
913913
``assertEmailTextBodyContains(RawMessage $email, string $text, string $message = '')``/``assertEmailTextBodyNotContains(RawMessage $email, string $text, string $message = '')``
914914
Asserts that the text body of the given email does (not) contain the
915915
expected text.

0 commit comments

Comments
 (0)