Skip to content

Commit a1bf66a

Browse files
committed
MC-38038: Partial reindex of prices causes empty categories (missed products)
1 parent 22692c7 commit a1bf66a

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/Indexer/Product/Price/Action

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Product/Price/Action/RowsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ public function testBatchProcessing()
184184
$this->catalogProductType->expects($this->any())
185185
->method('getTypesByPriority')
186186
->willReturn([]);
187-
$adapter->expects($this->once())
187+
$adapter->expects($this->exactly(2))
188188
->method('getIndexList')
189189
->willReturn(['entity_id'=>['COLUMNS_LIST'=>['test']]]);
190-
$adapter->expects($this->once())
190+
$adapter->expects($this->exactly(2))
191191
->method('getPrimaryKeyName')
192192
->willReturn('entity_id');
193193
$this->actionRows->execute($ids);

0 commit comments

Comments
 (0)