Merge branch '2.3' into 2

This commit is contained in:
Steve Boyd 2022-04-13 18:14:53 +12:00
commit 7733cc7c95

View File

@ -69,6 +69,7 @@ class TestSessionHTTPMiddleware implements HTTPMiddleware
$mailer = $testState->mailer; $mailer = $testState->mailer;
Injector::inst()->registerService(new $mailer(), Mailer::class); Injector::inst()->registerService(new $mailer(), Mailer::class);
Email::config()->set("send_all_emails_to", null); Email::config()->set("send_all_emails_to", null);
Email::config()->update('admin_email', 'no-reply@example.com');
} }
// Connect to the test session database // Connect to the test session database