@@ -29,7 +29,7 @@ After the library is installed, try running PHPUnit:
29
29
30
30
$ php ./vendor/bin/phpunit
31
31
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
33
33
PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
34
34
the ``tests/ `` directory of your application.
35
35
@@ -147,7 +147,7 @@ usually defined in the ``KERNEL_CLASS`` environment variable
147
147
148
148
If your use case is more complex, you can also override the
149
149
``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.
151
151
152
152
Set-up your Test Environment
153
153
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -376,7 +376,7 @@ generate an empty fixture class:
376
376
The class name of the fixtures to create (e.g. AppFixtures):
377
377
> ProductFixture
378
378
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
380
380
instance, to load ``Product `` objects into Doctrine, use::
381
381
382
382
// src/DataFixtures/ProductFixture.php
@@ -858,7 +858,7 @@ Request Assertions
858
858
Asserts the given :ref: `request attribute <component-foundation-attributes >`
859
859
is set to the expected value.
860
860
``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.
862
862
863
863
Browser Assertions
864
864
..................
@@ -909,7 +909,7 @@ Mailer Assertions
909
909
``assertEmailAttachmentCount(RawMessage $email, int $count, string $message = '') ``
910
910
Asserts that the given email has the expected number of attachments. Use
911
911
``getMailerMessage(int $index = 0, string $transport = null) `` to
912
- retrievea specific email by index.
912
+ retrieve a specific email by index.
913
913
``assertEmailTextBodyContains(RawMessage $email, string $text, string $message = '') ``/``assertEmailTextBodyNotContains(RawMessage $email, string $text, string $message = '') ``
914
914
Asserts that the text body of the given email does (not) contain the
915
915
expected text.
0 commit comments