Make limit parameter optional
Unification function parameters with a similar method from the repository. [MAILPOET-4367]
This commit is contained in:
@@ -198,7 +198,7 @@ class ScheduledTasksRepositoryTest extends \MailPoetTest {
|
||||
$task = $this->scheduledTaskFactory->create(SendingQueueWorker::TASK_TYPE, ScheduledTaskEntity::STATUS_SCHEDULED, Carbon::now()->addDay());
|
||||
$this->sendingQueueFactory->create($task);
|
||||
|
||||
$tasks = $this->repository->findScheduledSendingTasks(5);
|
||||
$tasks = $this->repository->findScheduledSendingTasks();
|
||||
$this->assertSame($expectedResult, $tasks);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user