Ejemplo n.º 1
0
 /**
  * Execute partial indexation by ID
  *
  * @param int $id
  * @return void
  */
 public function executeRow($id)
 {
     $this->_productEavIndexerRow->execute($id);
 }
Ejemplo n.º 2
0
 /**
  * @expectedException \Magento\Catalog\Exception
  * @expectedExceptionMessage Could not rebuild index for undefined product
  */
 public function testEmptyId()
 {
     $this->_model->execute(null);
 }
Ejemplo n.º 3
0
 public function testExecuteRow()
 {
     $id = 11;
     $this->_productEavIndexerRow->expects($this->once())->method('execute')->with($id);
     $this->_model->executeRow($id);
 }