mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Merge branch '4.8' into 4
This commit is contained in:
commit
8ff1ef7a59
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user