Skip to content

Commit 07e2ca3

Browse files
committed
[BUGFIX] Moved the indexAll after the product save in the Indexer Product Flat RowTest
1 parent 74371e7 commit 07e2ca3

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action/RowTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@ public function testProductUpdate()
6161
$this->_processor->getIndexer()->isScheduled(),
6262
'Indexer is in scheduled mode when turned to update on save mode'
6363
);
64-
$this->_processor->reindexAll();
6564

6665
$this->_product->load(1);
6766
$this->_product->setName('Updated Product');
6867
$this->_product->save();
6968

69+
$this->_processor->reindexAll();
70+
7071
$category = $categoryFactory->create()->load(9);
7172
$layer = $listProduct->getLayer();
7273
$layer->setCurrentCategory($category);

0 commit comments

Comments
 (0)