Esempio n. 1
0
 public function testExecuteFull()
 {
     $this->productFlatIndexerFull->expects($this->any())->method('execute');
     $this->model->executeFull();
 }
Esempio n. 2
0
 public function testExecuteFull()
 {
     $this->productFlatIndexerFull->expects($this->any())->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();
 }
Esempio n. 3
0
 /**
  * Execute full indexation
  *
  * @return void
  */
 public function executeFull()
 {
     $this->_productFlatIndexerFull->execute();
 }
Esempio n. 4
0
 /**
  * Execute full indexation
  *
  * @return void
  */
 public function executeFull()
 {
     $this->_productFlatIndexerFull->execute();
     $this->getCacheContext()->registerTags([\Magento\Catalog\Model\Category::CACHE_TAG, \Magento\Catalog\Model\Product::CACHE_TAG]);
 }