mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Merge branch '2' into 3
This commit is contained in:
commit
40aa0a7b52
@ -76,7 +76,7 @@ class TestSessionHTTPMiddleware implements HTTPMiddleware
|
|||||||
MailerInterface::class
|
MailerInterface::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');
|
Email::config()->set('admin_email', 'no-reply@example.com');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Connect to the test session database
|
// Connect to the test session database
|
||||||
|
Loading…
Reference in New Issue
Block a user