Skip to content

The message variable missing error in testing Mails #136

Description

@DenTray

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

image image

In fact it works fine for the real email send

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions