Skip to content

Commit d02fd00

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-84646: Cron jobs incorrect behavior when running job terminated
1 parent 2bbb26a commit d02fd00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/Cron/Model/ScheduleTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,9 @@ public function testTryLockJobDifferentJobLocked()
103103
* @param string $jobCode
104104
* @param string $status
105105
* @param int $timeOffset
106-
* @param int $executionTimeOffset
107106
* @return Schedule
108107
*/
109-
private function createSchedule($jobCode, $status, $timeOffset = 0, $executionTimeOffset = 0)
108+
private function createSchedule($jobCode, $status, $timeOffset = 0)
110109
{
111110
$schedule = $this->scheduleFactory->create()
112111
->setCronExpr("* * * * *")

0 commit comments

Comments
 (0)