Skip to content

Commit bff338b

Browse files
committed
minor #17998 Update mailer.rst (orangevinz)
This PR was merged into the 5.4 branch. Discussion ---------- Update mailer.rst It's not clear to me that `$this->assertEmailCount(1);` returns `0` when _Messenger_ is used and does not concern queued messages. Commits ------- 58979f6 Update mailer.rst
2 parents 2aa7c05 + 58979f6 commit bff338b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mailer.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,3 +1582,8 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`::
15821582
.. _`default_socket_timeout`: https://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
15831583
.. _`RFC 3986`: https://www.ietf.org/rfc/rfc3986.txt
15841584
.. _`App Password`: https://support.google.com/accounts/answer/185833
1585+
1586+
.. tip::
1587+
1588+
If you're using Messenger you should use ``$this->assertQueuedEmailCount(1);`` instead.
1589+

0 commit comments

Comments
 (0)