Make limit parameter optional

Unification function parameters with a similar method from the repository.
[MAILPOET-4367]
This commit is contained in:
Jan Lysý
2022-08-30 10:28:51 +02:00
committed by Aschepikov
parent 1a65e815b4
commit 6989bd9413
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
}