Remove old model from Scheduler

[MAILPOET-4141]
This commit is contained in:
Jan Lysý
2022-05-25 09:05:29 +02:00
committed by Veljko V
parent 882e096c81
commit 4ba5c6ce0c
9 changed files with 88 additions and 49 deletions

View File

@@ -467,7 +467,7 @@ class WelcomeTest extends \MailPoetTest {
$this->segmentRepository,
$this->diContainer->get(NewslettersRepository::class),
$this->diContainer->get(ScheduledTasksRepository::class),
new Scheduler($wpMock)
new Scheduler($wpMock, $this->diContainer->get(NewslettersRepository::class))
);
}