/** * Execute full indexation * * @return void */ public function executeFull() { $this->_productEavIndexerFull->execute(); }
public function testExecuteFull() { $this->_productEavIndexerFull->expects($this->once())->method('execute'); $this->_model->executeFull(); }
/** * Execute full indexation * * @return void */ public function executeFull() { $this->_productEavIndexerFull->execute(); $this->getCacheContext()->registerTags([\Magento\Catalog\Model\Category::CACHE_TAG, \Magento\Catalog\Model\Product::CACHE_TAG]); }
public function testExecuteFull() { $this->_productEavIndexerFull->expects($this->once())->method('execute'); $this->cacheContextMock->expects($this->once())->method('registerTags')->with([\Magento\Catalog\Model\Category::CACHE_TAG, \Magento\Catalog\Model\Product::CACHE_TAG]); $this->model->executeFull(); }