Skip to content

Commit 0e96b27

Browse files
committed
LYNX-311-DELIVERY:Revert reindexr changes
1 parent c8f2a3e commit 0e96b27

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Indexer/Test/Fixture/Indexer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ public function apply(array $data = []): ?DataObject
3737
$this->indexerCollection->load();
3838
/** @var IndexerModel $indexer */
3939
foreach ($this->indexerCollection->getItems() as $indexer) {
40-
if ($indexer->getState()->getData('status') === 'invalid') {
41-
$indexer->reindexAll();
42-
}
40+
$indexer->reindexAll();
4341
}
4442
return null;
4543
}

0 commit comments

Comments
 (0)