Open DenTray opened 2 months ago
The main reason of this one is merging the message
variable into the view data on the sending level instead of preparing mail object
As a first step to resolve this one - we need to try to get the mail content from the log
driver instead of mocking Mail
According to the Laravel doc https://laravel.com/docs/5.8/mail#inline-attachments Laravel automatically add the
message
variable inside the template.But while testing it, phpunit will fail with the next error
In fact it works fine for the real email send