예제 #1
0
파일: Eav.php 프로젝트: aiesh/magento2
 /**
  * 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);
 }