Skip to content

Commit 58bd0c8

Browse files
committed
ACP2E-381: Single Quotation Marks not accepted by form validation on customer account creation
1 parent dfc1cb3 commit 58bd0c8

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Customer/Test/Unit/Model/Validator

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Test/Unit/Model/Validator/NameTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testValidateCorrectPunctuationInNames(
6161
$this->customerMock->expects($this->once())->method('getLastname')->willReturn($lastName);
6262

6363
$isValid = $this->nameValidator->isValid($this->customerMock);
64-
$this->assertTrue($isValid,$message);
64+
$this->assertTrue($isValid, $message);
6565
}
6666

6767
/**
@@ -81,7 +81,7 @@ public function expectedPunctuationInNamesDataProvider(): array
8181
'middleName' => '',
8282
'lastNameName' => 'O\'Doe',
8383
'message' => 'Legacy straight apostrophe must be allowed in names'
84-
],
84+
]
8585
];
8686
}
8787
}

0 commit comments

Comments
 (0)