From defc6e572dced8bd5de86d85eaa796c33f4e26e3 Mon Sep 17 00:00:00 2001 From: Serge Latyntcev Date: Fri, 17 May 2019 12:44:19 +1200 Subject: [PATCH] FIX | TestMailer uses new testsession APIs for handling state --- src/Utility/TestMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utility/TestMailer.php b/src/Utility/TestMailer.php index 19646ac..b55d9d2 100644 --- a/src/Utility/TestMailer.php +++ b/src/Utility/TestMailer.php @@ -94,6 +94,6 @@ class TestMailer extends BaseTestMailer $state->emails = array(); } $state->emails[] = array_filter($data); - $this->testSessionEnvironment->applyState($state); + $this->testSessionEnvironment->saveState($state); } }