Skip to content

Commit 08f7334

Browse files
committed
MAGETWO-90808: [Performance] Customer Import check data does not complete
1 parent af1709a commit 08f7334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CustomerImportExport/Test/Unit/Model/Import/CustomerCompositeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ protected function _getModelMockForImportData($isDeleteBehavior, $customerImport
232232
if ($isDeleteBehavior || !$customerImport) {
233233
$addressEntity->expects($this->never())->method('importData');
234234
} else {
235+
$addressEntity->expects($this->once())->method('setCustomerAttributes')->will($this->returnSelf());
235236
$addressEntity->expects($this->once())->method('importData')->will($this->returnValue($addressImport));
236237
}
237238

@@ -654,7 +655,6 @@ public function dataProviderTestImportData()
654655
*/
655656
public function testImportData($behavior, $customerImport, $addressImport, $result)
656657
{
657-
return;
658658
$isDeleteBehavior = $behavior == Import::BEHAVIOR_DELETE;
659659
$entityMock = $this->_getModelMockForImportData($isDeleteBehavior, $customerImport, $addressImport);
660660
$entityMock->setParameters(['behavior' => $behavior]);

0 commit comments

Comments
 (0)