Update to Drupal 8.2.3. For more information, see https://www.drupal.org/project/drupal/releases/8.2.3
This commit is contained in:
parent
507b45a0ed
commit
0a95b8440e
19 changed files with 300 additions and 15 deletions
|
@ -99,6 +99,7 @@ class UserPasswordForm extends FormBase {
|
|||
}
|
||||
$form['actions'] = array('#type' => 'actions');
|
||||
$form['actions']['submit'] = array('#type' => 'submit', '#value' => $this->t('Submit'));
|
||||
$form['#cache']['contexts'][] = 'url.query_args';
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
|
|
@ -292,6 +292,9 @@ class UserPasswordResetTest extends PageCacheTagsTestBase {
|
|||
unset($edit['pass']);
|
||||
$this->drupalGet('user/password', array('query' => array('name' => $edit['name'])));
|
||||
$this->assertFieldByName('name', $edit['name'], 'User name found.');
|
||||
// Ensure the name field value is not cached.
|
||||
$this->drupalGet('user/password');
|
||||
$this->assertNoFieldByName('name', $edit['name'], 'User name not found.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue