File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Model/ResourceModel/Quote/Item
Test/Unit/Model/ResourceModel/Report/Quote Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ protected function getProductData(array $productIds)
192
192
. ' AND product_name.attribute_id = ' . $ productAttrNameId
193
193
. ' AND product_name.store_id = ' . \Magento \Store \Model \Store::DEFAULT_STORE_ID ,
194
194
['name ' => 'product_name.value ' ]
195
- )->joinInner (
195
+ )->joinLeft (
196
196
['product_price ' => $ productAttrPrice ->getBackend ()->getTable ()],
197
197
"product_price. {$ linkField } = main_table. {$ linkField }"
198
198
." AND product_price.attribute_id = {$ productAttrPriceId }" ,
Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ public function testLoadWithFilter()
124
124
$ this ->selectMock ->expects ($ this ->once ())->method ('reset ' )->willReturnSelf ();
125
125
$ this ->selectMock ->expects ($ this ->once ())->method ('from ' )->willReturnSelf ();
126
126
$ this ->selectMock ->expects ($ this ->once ())->method ('useStraightJoin ' )->willReturnSelf ();
127
- $ this ->selectMock ->expects ($ this ->exactly (2 ))->method ('joinInner ' )->willReturnSelf ();
127
+ $ this ->selectMock ->expects ($ this ->once ())->method ('joinInner ' )->willReturnSelf ();
128
+ $ this ->selectMock ->expects ($ this ->once ())->method ('joinLeft ' )->willReturnSelf ();
128
129
$ collection ->expects ($ this ->once ())->method ('getOrdersData ' )->willReturn ([]);
129
130
$ productAttributeMock ->expects ($ this ->once ())->method ('getBackend ' )->willReturnSelf ();
130
131
$ priceAttributeMock ->expects ($ this ->once ())->method ('getBackend ' )->willReturnSelf ();
You can’t perform that action at this time.
0 commit comments