mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
556e3a9e8a
Rather than setting noemailever in the bootstrap, this sets up a default phpmailer message sink which will catch all messages. Tests which require the phpmailer sink will continue to work as before without change, though the noemailever config setting no longer needs to be altered. For tests wanting to test with noemailever set with the previous behaviour, they will need to load the message sink and then close it.