Skip to content

Commit 33b3e40

Browse files
committed
MC-37934: Unexpected behavior of "Manage Shopping Cart" regarding "Products in the Comparison List"
1 parent 8891f6b commit 33b3e40

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Reports/Test/Unit/Model/ResourceModel

1 file changed

+2
-3
lines changed

app/code/Magento/Reports/Test/Unit/Model/ResourceModel/EventTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,12 @@ public function testApplyLogToCollection($storeId, $storeIdSelect)
207207
$selectMock
208208
->expects($this->any())
209209
->method('where')
210-
->withConsecutive([
210+
->willReturnMap([
211211
['event_type_id = ?', 1],
212212
['subject_id = ?', 1],
213213
['subtype = ?', 1],
214214
['store_id IN(?)', $storeIdSelect]
215-
])
216-
->willReturn($selectMock);
215+
]);
217216

218217
$this->connectionMock
219218
->expects($this->once())

0 commit comments

Comments
 (0)