Simplify WorkersFactory using DI and making it container-aware

[MAILPOET-2538]
This commit is contained in:
Jan Jakeš
2019-11-19 14:13:44 +01:00
committed by Jack Kitterhing
parent 382df5e034
commit dc5e2ae386
5 changed files with 47 additions and 164 deletions

View File

@@ -294,6 +294,8 @@ class DaemonHttpRunnerTest extends \MailPoetTest {
'createAuthorizedSendingEmailsCheckWorker' => $worker,
'createWooCommercePastOrdersWorker' => $worker,
'createBeamerkWorker' => $worker,
'createUnsubscribeTokensWorker' => $worker,
'createSubscriberLinkTokensWorker' => $worker,
]);
}
}