diff --git a/core/modules/user/src/Tests/UserRegistrationTest.php b/core/modules/user/src/Tests/UserRegistrationTest.php index 158fae8..a3bdc96 100644 --- a/core/modules/user/src/Tests/UserRegistrationTest.php +++ b/core/modules/user/src/Tests/UserRegistrationTest.php @@ -169,7 +169,7 @@ public function testRegistrationEmailAsUsername() { // Attempt to create an account using an email that doesn't match the name. $this->drupalPostForm('user/register', $edit, t('Create new account')); - $this->assertText(t('You have provided an e-mail address as a username, but this does not match your e-mail address.'), 'Email username does not match user email error message found.'); + $this->assertText(t('You have provided an email address as a username, but this does not match your email address.'), 'Email username does not match user email error message found.'); $this->assertNoText(t('Registration successful. You are now logged in.'), 'The user was not created and logged in.'); // Attempt to create new account using matching email address.