FIX Define admin_email

This commit is contained in:
Steve Boyd 2022-03-22 13:02:06 +13:00
parent b9b4c1d2a2
commit c7801bb1fb

View File

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