Skip to content

Commit da18ecd

Browse files
committed
to pass static test, api test
1 parent 8b49ff9 commit da18ecd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Quote/Test/Unit/Model/Quote/Item/ProcessorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ protected function setUp()
6868
['create']
6969
);
7070

71-
$this->itemMock = $this->createPartialMock(\Magento\Quote\Model\Quote\Item::class,
71+
$this->itemMock = $this->createPartialMock(
72+
\Magento\Quote\Model\Quote\Item::class,
7273
[
7374
'getId',
7475
'setOptions',

dev/tests/api-functional/testsuite/Magento/Catalog/Api/CartItemRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function testAddProductToCartWithCustomOptions()
6262
'sku' => $item->getSku(),
6363
'qty' => $item->getQty(),
6464
'name' => $item->getName(),
65-
65+
'price' => $item->getPrice(),
6666
'product_type' => $item->getProductType(),
6767
'quote_id' => $item->getQuoteId(),
6868
'product_option' => [

0 commit comments

Comments
 (0)