Compare commits

..

No commits in common. "ffe1bc8fa2f734fb4d22677b6920ee59c200da15" and "9b91b2de98eeddfab34c3dfb157ea0b1fda0f297" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ class TestSessionEnvironment
public function __construct($id = null)
{
$this->constructExtensions();
if ($id) {
$this->id = $id;
}

View File

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