Example #1
0
 /**
  * @expectedException \Magento\Catalog\Exception
  * @expectedExceptionMessage Could not rebuild index for undefined product
  */
 public function testEmptyId()
 {
     $this->_model->execute(null);
 }
Example #2
0
 /**
  * Execute partial indexation by ID
  *
  * @param int $id
  * @return void
  */
 public function executeRow($id)
 {
     $this->_productEavIndexerRow->execute($id);
 }