Symfony 5: How to test that an email was sent by a command in (with Mailer)

后端 未结 0 1612
我寻月下人不归
我寻月下人不归 2020-12-10 18:55

In a Symfony 5 application, I use Mailer to send emails. I wrote a command wich sends a notification email, and I want to write a unit test to ensure the email has been sent

相关标签:
回答
  • 消灭零回复
提交回复
热议问题