core/modules/user/src/Form/UserPasswordResetForm.php | 2 +- core/modules/user/src/Tests/UserLoginTest.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/modules/user/src/Form/UserPasswordResetForm.php b/core/modules/user/src/Form/UserPasswordResetForm.php index 490965a..69b4588 100644 --- a/core/modules/user/src/Form/UserPasswordResetForm.php +++ b/core/modules/user/src/Form/UserPasswordResetForm.php @@ -97,7 +97,7 @@ public function buildForm(array $form, FormStateInterface $form_state, AccountIn } /** - * {@inheritdoc}o + * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { /** @var $user \Drupal\user\UserInterface */ diff --git a/core/modules/user/src/Tests/UserLoginTest.php b/core/modules/user/src/Tests/UserLoginTest.php index 1ffdddc..6f85658 100644 --- a/core/modules/user/src/Tests/UserLoginTest.php +++ b/core/modules/user/src/Tests/UserLoginTest.php @@ -23,6 +23,8 @@ class UserLoginTest extends WebTestBase { function testCacheTags() { $this->drupalGet('user/login'); $cache_tags = explode(' ', $this->drupalGetHeader('X-Drupal-Cache-Tags')); + // The user login form says "Enter your username.", hence it + // depends on config:system.site, and its cache tags should be present. $this->assertTrue(in_array('config:system.site', $cache_tags)); }