-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
MailerhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
In the documentation there is no section about functional testing: https://symfony.com/doc/current/mailer.html
In the swifmailer documentation there is a chapter about it: https://symfony.com/doc/current/email.html
It would be really useful, as I first tried to reverse engineer a solution based on the profiler, before I found the mailer assertions in the framework bundle.
If https://symfony.com/doc/current/mailer.html is the correct place to document this, I would write a short chapter based on information found here:
- https://symfony.com/blog/new-in-symfony-4-4-phpunit-assertions-for-email-messages
- https://symfony.com/doc/current/testing/functional_tests_assertions.html#mailer
- https://github.com/symfony/framework-bundle/blob/5.x/Test/MailerAssertionsTrait.php
Am I on the right track? If yes, I will prepare a MR.
Metadata
Metadata
Assignees
Labels
MailerhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.