Merge branch '4.8' into 4

This commit is contained in:
Steve Boyd 2022-03-24 10:39:47 +13:00
commit 8ff1ef7a59

View File

@ -52,6 +52,7 @@ class EmailContext implements Context
$this->mailer = new TestMailer(); $this->mailer = new TestMailer();
Injector::inst()->registerService($this->mailer, Mailer::class); Injector::inst()->registerService($this->mailer, Mailer::class);
Email::config()->update("send_all_emails_to", null); Email::config()->update("send_all_emails_to", null);
Email::config()->update('admin_email', 'no-reply@example.com');
} }
/** /**