Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/code/Magento/ImportExport/Model/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,6 @@ private function importSourceCallback()
{
$ids = $this->getImportIds();
$this->_getEntityAdapter()->setIds($ids);
$this->setData('entity', $this->getDataSourceModel()->getEntityTypeCode($ids));
$this->setData('behavior', $this->getDataSourceModel()->getBehavior($ids));

//Validating images temporary directory path if the constraint has been provided
if ($this->hasData('images_base_directory')
Expand Down
6 changes: 0 additions & 6 deletions app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,6 @@ public function testImportSource()
->method('getEntityTypeCode')
->willReturn($entityTypeCode);
$behaviour = 'behaviour';
$this->_importData->expects($this->once())
->method('getBehavior')
->willReturn($behaviour);
$this->import->expects($this->any())
->method('getDataSourceModel')
->willReturn($this->_importData);
Expand Down Expand Up @@ -389,9 +386,6 @@ public function testImportSourceException()
->method('getEntityTypeCode')
->willReturn($entityTypeCode);
$behaviour = 'behaviour';
$this->_importData->expects($this->any())
->method('getBehavior')
->willReturn($behaviour);
$this->import->expects($this->any())
->method('getDataSourceModel')
->willReturn($this->_importData);
Expand Down