FIX | TestMailer uses new testsession APIs for handling state

This commit is contained in:
Serge Latyntcev 2019-05-17 12:44:19 +12:00
parent 2241f8d411
commit defc6e572d

View File

@ -94,6 +94,6 @@ class TestMailer extends BaseTestMailer
$state->emails = array();
}
$state->emails[] = array_filter($data);
$this->testSessionEnvironment->applyState($state);
$this->testSessionEnvironment->saveState($state);
}
}