diff --git a/core/modules/user/src/Tests/UserChangeEmailTest.php b/core/modules/user/src/Tests/UserChangeEmailTest.php index b052cc2..8a5a951 100644 --- a/core/modules/user/src/Tests/UserChangeEmailTest.php +++ b/core/modules/user/src/Tests/UserChangeEmailTest.php @@ -43,7 +43,7 @@ public function testEmailChange() { $this->drupalLogin($this->account); // Save a new email and verify that the user was sent an email. - $new_mail = $this->getEandomEmail(); + $new_mail = $this->getRandomEmailAddress(); $edit = [ 'mail' => $new_mail, 'current_pass' => $this->account->pass_raw, @@ -154,12 +154,12 @@ protected function gerUrlEmail($mail_id) { } /** - * Generates a random email. + * Generates a random email adress. * * @return string - * Random email. + * A random email address. */ - protected function getEandomEmail() { + protected function getRandomEmailAddress() { return Unicode::strtolower($this->randomMachineName()) . '@example.com'; }