Skip to content

Commit 8265dbf

Browse files
author
Leonid Poluyanov
committed
MAGETWO-38946: Create pull request for a sprint 22 results
1 parent 40e0a7b commit 8265dbf

File tree

1 file changed

+3
-0
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogInventory/Model/Stock

1 file changed

+3
-0
lines changed

dev/tests/integration/testsuite/Magento/CatalogInventory/Model/Stock/ItemTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public function testIndexerInvalidation()
8989

9090

9191
$this->assertEquals('invalid', $indexerProcessor->getIndexer()->getStatus());
92+
93+
$indexer->setScheduled(false);
94+
$indexer->getState()->setStatus(State::STATUS_VALID)->save();
9295
}
9396

9497
/**

0 commit comments

Comments
 (0)