diff --git a/tests/src/Functional/EmailRegistrationTestCase.php b/tests/src/Functional/EmailRegistrationTestCase.php index 22e6786..d9a0ce4 100644 --- a/tests/src/Functional/EmailRegistrationTestCase.php +++ b/tests/src/Functional/EmailRegistrationTestCase.php @@ -54,7 +54,7 @@ class EmailRegistrationTestCase extends BrowserTestBase { // Really basic confirmation that the user was created and logged in. $account = user_load_by_mail($register['mail']); - $this->assertSession()->responseContains('' . $name . ' ' . $account->id() . ' | Drupal'); + $this->assertSession()->responseContains('' . $name . '_' . $account->id() . ' | Drupal'); // Now try the immediate login. $this->drupalLogout();