/**
  * @return void
  */
 public function testGetDocumentList()
 {
     $documentList = ['sales_flat_order' => 'sales_order'];
     $this->assertEquals($documentList, $this->helper->getDocumentList());
 }
Пример #2
0
 /**
  * Get iterations count for step
  *
  * @return int
  */
 protected function getIterationsCount()
 {
     $migrationDocuments = $this->helper->getDocumentList();
     $documents = [$this->helper->getDestEavDocument(), array_keys($migrationDocuments), array_values($migrationDocuments)];
     return count($documents);
 }
Пример #3
0
 /**
  * @return int
  */
 protected function getDestEavDocument()
 {
     return count($this->helper->getDocumentList());
 }