Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit d9485cc

Browse files
committed
#12082: Products in cart report errors with grouped or bundle product
- Unit test updated
1 parent f71fae5 commit d9485cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Report/Quote/CollectionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ public function testLoadWithFilter()
124124
$this->selectMock->expects($this->once())->method('reset')->willReturnSelf();
125125
$this->selectMock->expects($this->once())->method('from')->willReturnSelf();
126126
$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();
128129
$collection->expects($this->once())->method('getOrdersData')->willReturn([]);
129130
$productAttributeMock->expects($this->once())->method('getBackend')->willReturnSelf();
130131
$priceAttributeMock->expects($this->once())->method('getBackend')->willReturnSelf();

0 commit comments

Comments
 (0)