Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to check for expected email attachments in MailContext #672

Open
chrisolof opened this issue Jul 9, 2024 · 0 comments · May be fixed by #673
Open

Add the ability to check for expected email attachments in MailContext #672

chrisolof opened this issue Jul 9, 2024 · 0 comments · May be fixed by #673

Comments

@chrisolof
Copy link

I would like to be able to test for the presence of an expected email attachment, in addition to correct to and subject fields. For example:

  ...
  Then an email has been sent to "[email protected]" with the subject "Foo" and the attachment "bar.pdf"
  ...

Or, in the case of multiple attachments:

  ...
  Then an email has been sent to "[email protected]" with the subject "Foo" and the attachments "bar1.pdf,bar2.pdf"
  ...

I intend to follow this up with a pull request.

chrisolof added a commit to chrisolof/drupalextension that referenced this issue Jul 9, 2024
@chrisolof chrisolof linked a pull request Jul 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant