Merge pull request #210 from creative-commoners/pulls/4.8/admin-email

FIX Define admin_email
This commit is contained in:
Maxime Rainville 2022-03-23 11:33:46 +13:00 committed by GitHub
commit dcfa8ed1cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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');
}
/**