Skip to content

Commit 984f72f

Browse files
authored
Merge pull request #5429 from ThomasLandauer/patch-8
Added info to seeEmailIsSent about stopFollowingRedirects
2 parents 9fd1ccb + 0b2557e commit 984f72f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ public function seeInCurrentRoute($routeName)
454454
/**
455455
* Checks if the desired number of emails was sent.
456456
* If no argument is provided then at least one email must be sent to satisfy the check.
457+
* The email is checked using Symfony's profiler. If your app performs a redirect after sending the email,
458+
* you need to tell Codeception to not follow this redirect, using REST Module's [stopFollowingRedirects](
459+
* https://codeception.com/docs/modules/REST#stopFollowingRedirects) method.
457460
*
458461
* ``` php
459462
* <?php

0 commit comments

Comments
 (0)