Esempio n. 1
0
 /**
  * @expectedException \Magento\Framework\Exception\LocalizedException
  * @expectedExceptionMessage Could not rebuild index for undefined product
  */
 public function testEmptyId()
 {
     $this->_model->execute(null);
 }
Esempio n. 2
0
 /**
  * Execute partial indexation by ID list
  *
  * @param int[] $ids
  *
  * @return void
  */
 public function executeList(array $ids)
 {
     $this->_productStockIndexerRows->execute($ids);
 }