This information is from the code coverage report (see http://coverage.cwgordon.com/coverage).
We need to test:
Default site mail-from setting.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | tests_v3.patch | 2.35 KB | p.brouwers |
| #15 | tests_v2.patch | 2.38 KB | p.brouwers |
| #3 | tests.patch | 2.58 KB | p.brouwers |
Comments
Comment #1
p.brouwers commentedI'm interested in doing these tests.
Comment #2
catchOpening up for the testing party.
Comment #3
p.brouwers commentedI was busy writing the 4 mail tests in one .test file, but I see you've divided it into 4 different tests.
I've cleanup the files and left only this test in it.
I named it 'mail', I hope that's correct.
Should the other mail tests be in another file?
Comment #4
catchHi p.brouwers The split is pretty arbitrary due to the testing party at Drupalcon next week. If you've got a full test for this, please post it here and we can close out the other issues.
Comment #5
p.brouwers commentedah ok.
I still need to write a test for CustomBackends. I'm not really familiar with that, so I don't know how long that'll take.
Comment #6
robloach#331180: fix pluggable smtp/mail framework introduces a nice pluggable mail system as well as a test for it, should this issue be merged in with it?
Comment #8
lilou commentedSee: #335122: Test clean HEAD after every commit and http://pastebin.ca/1258476
Comment #9
catchWe no longer have phpdoc for setUp(), getInfo() or tearDown()
http://drupal.org/node/325974
Comment #10
robloachPostponed until #331180: fix pluggable smtp/mail framework is in.
Comment #11
jax commentedReferenced issue was committed. A mail.test file has already been created. I'm not sure if this is still relevant. Can someone confirm this can be closed?
Comment #12
Stevel commentedThe tests seem complementary, so these tests can be added, but should probably be integrated in the existing mail.test file.
Comment #13
Chethan K commented#3: tests.patch queued for re-testing.
Comment #15
p.brouwers commentedupdated patch for latest version of D7
Comment #16
aspilicious commentedAdd a newline to remove that message
Comment #17
p.brouwers commentedadded the newline
Comment #18
thedavidmeister commentedLooks like this should be done for d8 now.
I imagine it would live in Drupal\system\Tests\Mail\MailTest and be relatively easy to write in context of what's in that file.
Comment #27
quietone commentedThis was fixed for D7 in #3098058: [D7] Use site name in From: header for system e-mails and for D8.8 in #3028712: Convert system MailTest into a Kernel test. Break its simpletest dependency. I guess that makes this a duplicate, although it predates those issues.
Closing as a duplicate.