Issue #3171047 followup by xjm: Fix coding standards changes that were not staged properly.

merge-requests/3220/head
xjm 2022-12-25 09:30:04 -06:00
parent 59e2165236
commit 2193f7675d
No known key found for this signature in database
GPG Key ID: 206B0B8743BDF4C2
1 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,8 @@ class UniqueFieldConstraintTest extends KernelTestBase {
* forbids 'view' access to entity_test entities.
*
* @covers ::validate
*/ public function testViolationDespiteNoAccess() {
*/
public function testViolationDespiteNoAccess() {
$this->installEntitySchema('entity_test');
// Create and save an entity with a given field value in the field that has
@ -137,7 +138,7 @@ class UniqueFieldConstraintTest extends KernelTestBase {
$violations = $entity->get('name')->validate();
$message = new FormattableMarkup('A @entity_type with @field_name %value already exists.', [
'%value' => 'A totally unique entity name',,
'%value' => 'A totally unique entity name',
'@entity_type' => $entity->getEntityType()->getSingularLabel(),
'@field_name' => 'Name',
]);