Remove static (mis)usages of Mailer::getMailerConfig()

[MAILPOET-2515]
This commit is contained in:
Jan Jakeš
2019-11-11 14:42:17 +01:00
committed by Jack Kitterhing
parent 1da56efd32
commit 15acedc94f
6 changed files with 26 additions and 10 deletions

View File

@ -14,7 +14,7 @@ class SendingServiceKeyCheckTest extends \MailPoetTest {
function _before() {
parent::_before();
$this->mss_key = 'some_key';
$this->worker = new SendingServiceKeyCheck(microtime(true));
$this->worker = new SendingServiceKeyCheck($this->di_container->get(SettingsController::class), microtime(true));
}
function testItRequiresMailPoetMethodToBeSetUp() {