Skip to content
Snippets Groups Projects
Commit 340e3a56 authored by Stanislav Idolov's avatar Stanislav Idolov
Browse files

MAGETWO-44589: [Github] Make API jsonapi compliant

parent 368b69b3
Branches
No related merge requests found
...@@ -195,7 +195,7 @@ class QuoteTest extends \PHPUnit_Framework_TestCase ...@@ -195,7 +195,7 @@ class QuoteTest extends \PHPUnit_Framework_TestCase
false false
); );
$this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', [], [], '', false); $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', ['create'], [], '', false);
$this->quote = $this->getMock( $this->quote = $this->getMock(
'Magento\Backend\Model\Session\Quote', 'Magento\Backend\Model\Session\Quote',
......
...@@ -224,7 +224,7 @@ class QuoteManagementTest extends \PHPUnit_Framework_TestCase ...@@ -224,7 +224,7 @@ class QuoteManagementTest extends \PHPUnit_Framework_TestCase
false false
); );
$this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', [], [], '', false); $this->quoteFactoryMock = $this->getMock('\Magento\Quote\Model\QuoteFactory', ['create'], [], '', false);
$this->model = $objectManager->getObject( $this->model = $objectManager->getObject(
'\Magento\Quote\Model\QuoteManagement', '\Magento\Quote\Model\QuoteManagement',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment