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()
68
68
['create ' ]
69
69
);
70
70
71
- $ this ->itemMock = $ this ->createPartialMock (\Magento \Quote \Model \Quote \Item::class,
71
+ $ this ->itemMock = $ this ->createPartialMock (
72
+ \Magento \Quote \Model \Quote \Item::class,
72
73
[
73
74
'getId ' ,
74
75
'setOptions ' ,
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function testAddProductToCartWithCustomOptions()
62
62
'sku ' => $ item ->getSku (),
63
63
'qty ' => $ item ->getQty (),
64
64
'name ' => $ item ->getName (),
65
-
65
+ ' price ' => $ item -> getPrice (),
66
66
'product_type ' => $ item ->getProductType (),
67
67
'quote_id ' => $ item ->getQuoteId (),
68
68
'product_option ' => [
You can’t perform that action at this time.
0 commit comments