Skip to content

Commit a3368b5

Browse files
committed
MC-20624: Automate MC-11459
1 parent b847ff7 commit a3368b5

File tree

1 file changed

+3
-9
lines changed
  • dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Export

1 file changed

+3
-9
lines changed

dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Export/CustomerTest.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,10 @@ private function checkExportData(array $lines, array $expectedAttributes): void
142142
$data = $this->processCustomerData($customer, $expectedAttributes);
143143
$exportData = $lines['data'][$data['email']];
144144
$exportData = $this->unsetDuplicateData($exportData);
145-
array_walk(
146-
$exportData,
147-
function (&$value) {
148-
if (is_string($value) && $value === '') {
149-
$value = null;
150-
}
151-
}
152-
);
153145

154-
$this->assertArraySubset($exportData, $data);
146+
foreach ($data as $key => $value) {
147+
$this->assertEquals($value, $exportData[$key], "Attribute '{$key}' is not equal.");
148+
}
155149
}
156150
}
157151

0 commit comments

Comments
 (0)