Fix cron jobs by removing the extra unusable argument
This commit is contained in:
parent
5f6ee45f44
commit
ba96829d13
6 changed files with 7 additions and 7 deletions
|
@ -64,7 +64,7 @@ class ScheduleUpdateServiceTest extends TestCase
|
|||
|
||||
$this->connection->shouldReceive('beginTransaction')->once()->withNoArgs();
|
||||
$this->repository->shouldReceive('update')->once()->with($schedule->id, array_merge($data, [
|
||||
'next_run_at' => CronExpression::factory('1 2 3 * 4 *')->getNextRunDate(),
|
||||
'next_run_at' => CronExpression::factory('1 2 3 * 4')->getNextRunDate(),
|
||||
]))->andReturn($schedule);
|
||||
|
||||
$this->taskRepository->shouldReceive('deleteWhere')->once()->with([['schedule_id', '=', $schedule->id]]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue