From a7c1393c15b44136952448a6a865ac4311e97773 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 22 Oct 2020 18:51:17 +0200 Subject: [PATCH 1/2] Update Symfony.php Added info about Console, see https://github.com/Codeception/Codeception/issues/4698 --- src/Codeception/Module/Symfony.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Codeception/Module/Symfony.php b/src/Codeception/Module/Symfony.php index 39756533..f51fbd7f 100644 --- a/src/Codeception/Module/Symfony.php +++ b/src/Codeception/Module/Symfony.php @@ -475,9 +475,9 @@ public function seeInCurrentRoute($routeName) /** * Checks if the desired number of emails was sent. * If no argument is provided then at least one email must be sent to satisfy the check. - * The email is checked using Symfony's profiler. If your app performs a redirect after sending the email, - * you need to tell Codeception to not follow this redirect, using REST Module's [stopFollowingRedirects]( - * https://codeception.com/docs/modules/REST#stopFollowingRedirects) method. + * The email is checked using Symfony's profiler, which means: + * * 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) + * * If the email is sent by a Symfony Console Command, Codeception cannot detect it. * * ``` php * Date: Fri, 23 Oct 2020 16:28:42 +0200 Subject: [PATCH 2/2] Update Symfony.php --- src/Codeception/Module/Symfony.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Codeception/Module/Symfony.php b/src/Codeception/Module/Symfony.php index f51fbd7f..bc649fcd 100644 --- a/src/Codeception/Module/Symfony.php +++ b/src/Codeception/Module/Symfony.php @@ -477,7 +477,7 @@ public function seeInCurrentRoute($routeName) * If no argument is provided then at least one email must be sent to satisfy the check. * The email is checked using Symfony's profiler, which means: * * 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) - * * If the email is sent by a Symfony Console Command, Codeception cannot detect it. + * * If the email is sent by a Symfony Console Command, Codeception cannot detect it yet. * * ``` php *