Example #1
0
 /**
  * Test execute full reindex action
  *
  * @return void
  */
 public function testExecuteFull()
 {
     $this->indexBuilder->expects($this->once())->method('reindexFull');
     $this->_eventManagerMock->expects($this->once())->method('dispatch')->with('clean_cache_by_tags', ['object' => $this->indexer]);
     $this->indexer->executeFull();
 }
Example #2
0
 public function testExecuteFull()
 {
     $this->indexBuilder->expects($this->once())->method('reindexFull');
     $this->indexer->executeFull();
 }