Fix dependecies in tests

[MAILPOET-3588]
This commit is contained in:
Jan Lysý
2021-04-30 13:21:35 +02:00
committed by Veljko V
parent 6a9e692f64
commit 9cba4efcee
2 changed files with 11 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class SendingErrorHandlerTest extends \MailPoetTest {
public function _before() {
parent::_before();
$this->errorHandler = new SendingErrorHandler();
$this->errorHandler = $this->diContainer->get(SendingErrorHandler::class);
}
public function testItShouldProcessSoftErrorCorrectly() {