Skip to content

Commit 132b64c

Browse files
Improved seeEmailIsSent description (#24)
* Update Symfony.php Added info about Console, see Codeception/Codeception#4698 * Update Symfony.php
1 parent e156315 commit 132b64c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,9 @@ public function seeInCurrentRoute($routeName)
478478
/**
479479
* Checks if the desired number of emails was sent.
480480
* If no argument is provided then at least one email must be sent to satisfy the check.
481-
* The email is checked using Symfony's profiler. If your app performs a redirect after sending the email,
482-
* you need to tell Codeception to not follow this redirect, using REST Module's [stopFollowingRedirects](
483-
* https://codeception.com/docs/modules/REST#stopFollowingRedirects) method.
481+
* The email is checked using Symfony's profiler, which means:
482+
* * If your app performs a redirect after sending the email, you need to suppress this using REST Module's [stopFollowingRedirects](https://codeception.com/docs/modules/REST#stopFollowingRedirects)
483+
* * If the email is sent by a Symfony Console Command, Codeception cannot detect it yet.
484484
*
485485
* ``` php
486486
* <?php

0 commit comments

Comments
 (0)