Skip to content

Commit

Permalink
Merge pull request #210 from creative-commoners/pulls/4.8/admin-email
Browse files Browse the repository at this point in the history
FIX Define admin_email
  • Loading branch information
maxime-rainville authored Mar 22, 2022
2 parents b9b4c1d + c7801bb commit dcfa8ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Context/EmailContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function before(BeforeScenarioScope $event)
$this->mailer = new TestMailer();
Injector::inst()->registerService($this->mailer, Mailer::class);
Email::config()->update("send_all_emails_to", null);
Email::config()->update('admin_email', '[email protected]');
}

/**
Expand Down

0 comments on commit dcfa8ed

Please sign in to comment.