From 6b4fb21760ec9eeb63662aac3f9e60534a13b5e1 Mon Sep 17 00:00:00 2001 From: Dmytro Voskoboinikov Date: Fri, 13 Jan 2017 17:47:23 +0200 Subject: [PATCH] MAGETWO-63094: [Github][PR] Cron configuration loading from DB doesn't work #8082 --- app/code/Magento/Cron/Test/Unit/Model/Config/Reader/DbTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Cron/Test/Unit/Model/Config/Reader/DbTest.php b/app/code/Magento/Cron/Test/Unit/Model/Config/Reader/DbTest.php index e11f29cb3a006..156852ebed641 100644 --- a/app/code/Magento/Cron/Test/Unit/Model/Config/Reader/DbTest.php +++ b/app/code/Magento/Cron/Test/Unit/Model/Config/Reader/DbTest.php @@ -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']],