/** * Run reindex * * @return Application */ public function reindex() { $this->_shell->execute('php -f ' . $this->_config->getApplicationBaseDir() . '/dev/shell/indexer.php -- reindexall'); // TODO: remove once Magento\Index module is completely removed (MAGETWO-18168) $this->_shell->execute('php -f ' . $this->_config->getApplicationBaseDir() . '/dev/shell/newindexer.php -- reindexall'); return $this; }
public function testGetApplicationBaseDir() { $this->assertEquals($this->_getFixtureAppBaseDir(), $this->_object->getApplicationBaseDir()); }
/** * Run reindex * * @return Application */ public function reindex() { $this->_shell->execute('php -f ' . $this->_config->getApplicationBaseDir() . '/dev/shell/indexer.php -- reindexall'); return $this; }
/** * Run reindex * * @return Application */ public function reindex() { $this->_shell->execute('php -f ' . $this->_config->getApplicationBaseDir() . '/bin/magento indexer:reindex --all'); return $this; }