Skip to content

Commit

Permalink
MAGETWO-63094: [Github][PR] Cron configuration loading from DB doesn'…
Browse files Browse the repository at this point in the history
…t work #8082
  • Loading branch information
Dmytro Voskoboinikov committed Jan 13, 2017
1 parent 843dfea commit 6b4fb21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testGet()
$job1 = ['schedule' => ['cron_expr' => '* * * * *']];
$job2 = ['schedule' => ['cron_expr' => '1 1 1 1 1']];
$data = ['crontab' => ['default' => ['jobs' => ['job1' => $job1, 'job2' => $job2]]]];
$this->config->expects($this->once())->method('get')->with('system, default')->will($this->returnValue($data));
$this->config->expects($this->once())->method('get')->with('system', 'default')->will($this->returnValue($data));
$expected = [
'default' => [
'job1' => ['schedule' => $job1['schedule']['cron_expr']],
Expand Down

0 comments on commit 6b4fb21

Please sign in to comment.