Skip to content

Commit 9316f40

Browse files
Egor Shitikovslopukhov
authored andcommitted
MAGETWO-36326: Create fixture for changing indexers mode (on save/scheduled)
1 parent f5836a9 commit 9316f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tools/performance-toolkit/fixtures/indexers_states_apply.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function execute()
2222
$indexers = \Magento\ToolkitFramework\Config::getInstance()->getValue('indexers', []);
2323
$this->application->resetObjectManager();
2424
foreach ($indexers["indexer"] as $indexer) {
25-
$this->application->indexersStates[$indexer['id']] = $indexer['set_scheduled'];
25+
$this->application->indexersStates[$indexer['id']] = ($indexer['set_scheduled'] == "true");
2626
}
2727
$this->application->getObjectManager()->get('Magento\Framework\App\CacheInterface')
2828
->clean([\Magento\Framework\App\Config::CACHE_TAG]);

0 commit comments

Comments
 (0)