postal code: rename fields to avoid confusion in load fixtures

This commit is contained in:
nobohan
2021-10-07 13:42:26 +02:00
parent fd73fac1a8
commit 748fe28f8d
3 changed files with 14 additions and 14 deletions

View File

@@ -193,7 +193,7 @@ class LoadPostalCodesCommand extends Command
;
if (NULL != $row[3]){
$postalCode->setRefId($row[3]);
$postalCode->setRefPostalCodeId($row[3]);
}
if (NULL != $row[4] & NULL != $row[5]){
@@ -201,7 +201,7 @@ class LoadPostalCodesCommand extends Command
}
if (NULL != $row[6]){
$postalCode->setSource($row[6]);
$postalCode->setPostalCodeSource($row[6]);
}
$errors = $this->validator->validate($postalCode);