File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/Quote/Test/Unit/Model/Quote/Item
dev/tests/api-functional/testsuite/Magento/Catalog/Api Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 ' ,
Original file line number Diff line number Diff 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 ' => [
You can’t perform that action at this time.
0 commit comments