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