From c7801bb1fbffaed37167ac06461a23a207031c80 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 22 Mar 2022 13:02:06 +1300 Subject: [PATCH] FIX Define admin_email --- src/Context/EmailContext.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Context/EmailContext.php b/src/Context/EmailContext.php index 16c712f8..2c9a36b1 100644 --- a/src/Context/EmailContext.php +++ b/src/Context/EmailContext.php @@ -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', 'no-reply@example.com'); } /**