Problem/Motivation

Match the MR in #3397420: Add a way to capture mails sent through the mailer transport service during tests.

Proposed resolution

Remaining tasks

User interface changes

API changes

Changes to the testing API MailerTestTrait:

  1. readMail() returns symfony Email
  2. Calls to assertAddress() may need adjusting depending on the parameters
  3. Remove assertError() and assertNoError() - replace the first with noMail() and just delete the 2nd.

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adamps created an issue. See original summary.

adamps’s picture

adamps credited znerol.

adamps’s picture

adamps’s picture

Issue summary: View changes
adamps’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • adamps committed 9682741d on 2.x
    Issue #3533041: Alter mailer testing to match Core proposal
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.