Skip to content

Commit

Permalink
to pass static test
Browse files Browse the repository at this point in the history
  • Loading branch information
edenduong committed Jul 23, 2019
1 parent e14d5cc commit 8b49ff9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Quote/Model/Quote/Item/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public function __construct(
/**
* Initialize quote item object
*
* @param DataObject $request
* @param Product $product
* @param DataObject $request
*
* @return Item
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ protected function setUp()
['create']
);

$this->itemMock = $this->createPartialMock(\Magento\Quote\Model\Quote\Item::class, [
$this->itemMock = $this->createPartialMock(\Magento\Quote\Model\Quote\Item::class,
[
'getId',
'setOptions',
'__wakeup',
Expand All @@ -78,7 +79,8 @@ protected function setUp()
'setOriginalCustomPrice',
'setData',
'setprice'
]);
]
);
$this->quoteItemFactoryMock->expects($this->any())
->method('create')
->will($this->returnValue($this->itemMock));
Expand Down

0 comments on commit 8b49ff9

Please sign in to comment.