Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Need to test one line e-mail handling in mail.inc
Comment | File | Size | Author |
---|---|---|---|
#7 | mail_test.patch | 2.18 KB | p.brouwers |
#3 | mail_test.patch | 2.12 KB | p.brouwers |
Comments
Comment #1
nielsvm CreditAttribution: nielsvm commentedAssigned!
Comment #2
nielsvm CreditAttribution: nielsvm commentedSorry, withdrew myself. Too busy for now. If I've got more time I will try to pick up more tests.
Comment #3
p.brouwers CreditAttribution: p.brouwers commentedmade a small test for it
Comment #4
dmitrig01 CreditAttribution: dmitrig01 commentedNeed spaces on either side of ===
Comment #5
mr.baileysSorry for my ignorance, but why should there be a specific test for single-line e-mails (what specifically should be tested)?
Pending patch has some code style errors, and with the advent of #296001: Capture e-mails sent during tests and add e-mail assertions / API it can probably be simplified a lot.
Comment #6
catchMoving this out of the critical bugs queue - see #607038: Meta issue: fix gaps in code coverage.
Comment #7
p.brouwers CreditAttribution: p.brouwers commentedChanged the patch to use the new email-capture system and fixed the code style