mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-06-29 07:59:27 +02:00
Merge branch 'silverstripe:4' into improve-wait-til-i-see-text
This commit is contained in:
commit
14efc9b2b6
|
@ -52,6 +52,7 @@ class EmailContext implements Context
|
||||||
$this->mailer = new TestMailer();
|
$this->mailer = new TestMailer();
|
||||||
Injector::inst()->registerService($this->mailer, Mailer::class);
|
Injector::inst()->registerService($this->mailer, Mailer::class);
|
||||||
Email::config()->update("send_all_emails_to", null);
|
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