Replace Newsletter model with Doctrine in SendingQueue

[MAILPOET-5737]
This commit is contained in:
Rodrigo Primo
2023-11-23 14:58:12 -03:00
committed by Aschepikov
parent d8973fe925
commit 4fe642916e
4 changed files with 40 additions and 64 deletions

View File

@@ -206,7 +206,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->newslettersRepository,
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -238,7 +237,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->makeEmpty(NewslettersRepository::class),
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -287,7 +285,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->makeEmpty(NewslettersRepository::class),
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -334,7 +331,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->newslettersRepository,
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -651,7 +647,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->makeEmpty(NewslettersRepository::class),
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -1112,7 +1107,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->makeEmpty(NewslettersRepository::class),
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,
@@ -1447,7 +1441,6 @@ class SendingQueueTest extends \MailPoetTest {
$this->sendingThrottlingHandler,
$this->statsNotificationsWorker,
$this->loggerFactory,
$this->newslettersRepository,
$this->cronHelper,
$this->subscribersFinder,
$this->segmentsRepository,