-
Bug
-
Resolution: Fixed
-
Major
-
2.4.6, 2.5.2, 2.6
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
w41_
MDL-42054_m26_phpmailertesting_i -
-
2
-
BACKEND Sprint 5
Yuliya Bozhko added a comment - 29/Sep/13 10:50 PM
Looking through the comments history, I think in moodle_phpmailer.php it should check not redirected messages, but redirected emails...
if (PHPUNIT_TEST && phpunit_util::is_redirecting_phpmailer()) {
Otherwise, if I redirect emails only, my message sink is always empty. Discovered while trying to write tests for MDL-41956.
- blocks
-
MDL-41956 Accept attachments in message_send() in email message provider
- Closed
- Discovered while testing
-
MDL-42224 clean up messaging and email redirection in unit tests
- Closed
- is a regression caused by
-
MDL-41196 Add phpmailer message sink to allow unit testing of email_to_user
- Closed
- is blocked by
-
MDL-41197 core_text::convert produces notices when experiencing invalid utf8 params or char not in target encoding
- Closed