From 340e3a56ee966500e693103cf8c63ea20b94c1e4 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov <sidolov@ebay.com> Date: Mon, 26 Oct 2015 18:00:56 +0200 Subject: [PATCH] MAGETWO-44589: [Github] Make API jsonapi compliant --- app/code/Magento/Backend/Test/Unit/Model/Session/QuoteTest.php | 2 +- app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Backend/Test/Unit/Model/Session/QuoteTest.php b/app/code/Magento/Backend/Test/Unit/Model/Session/QuoteTest.php index 56ead2c90c6..c0990730275 100644 --- a/app/code/Magento/Backend/Test/Unit/Model/Session/QuoteTest.php +++ b/app/code/Magento/Backend/Test/Unit/Model/Session/QuoteTest.php @@ -195,7 +195,7 @@ class QuoteTest extends \PHPUnit_Framework_TestCase false ); - $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', [], [], '', false); + $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', ['create'], [], '', false); $this->quote = $this->getMock( 'Magento\Backend\Model\Session\Quote', diff --git a/app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php b/app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php index 2c05f399faf..01ea8e48b75 100644 --- a/app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php +++ b/app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php @@ -224,7 +224,7 @@ class QuoteManagementTest extends \PHPUnit_Framework_TestCase false ); - $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', [], [], '', false); + $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', ['create'], [], '', false); $this->model = $objectManager->getObject( '\Magento\Quote\Model\QuoteManagement', -- GitLab