Skip to content

Commit 587739e

Browse files
committed
MAGETWO-54824: Can't save customer from admin if custom attribute is required and contains digit in code
1 parent d2c9fb6 commit 587739e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Test/Unit/Model/CustomerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public function testUpdateData()
337337

338338
$this->_model->updateData($customer);
339339

340-
foreach($customerDataAttributes as $key => $value) {
340+
foreach ($customerDataAttributes as $key => $value) {
341341
$expectedResult[strtolower(trim(preg_replace('/([A-Z]|[0-9]+)/', "_$1", $key), '_'))] = $value;
342342
}
343343

0 commit comments

Comments
 (0)