Skip to content

Commit

Permalink
Issue #2978398 by ilya.no, iyyappan.govind, mcdruid, aleevas, quieton…
Browse files Browse the repository at this point in the history
…e, joachim, alexpott, tvb, catch: UserPasswordResetTest extends PageCacheTagsTestBase unecessarily
  • Loading branch information
alexpott committed May 2, 2020
1 parent b41d137 commit 80a6b7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/user/tests/src/Functional/UserPasswordResetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
use Drupal\Core\Database\Database;
use Drupal\Core\Test\AssertMailTrait;
use Drupal\Core\Url;
use Drupal\Tests\system\Functional\Cache\PageCacheTagsTestBase;
use Drupal\Tests\BrowserTestBase;
use Drupal\user\Entity\User;

/**
* Ensure that password reset methods work as expected.
*
* @group user
*/
class UserPasswordResetTest extends PageCacheTagsTestBase {
class UserPasswordResetTest extends BrowserTestBase {

use AssertMailTrait {
getMails as drupalGetMails;
Expand Down Expand Up @@ -45,6 +45,10 @@ class UserPasswordResetTest extends PageCacheTagsTestBase {
protected function setUp() {
parent::setUp();

// Enable page caching.
$config = $this->config('system.performance');
$config->set('cache.page.max_age', 3600);
$config->save();
$this->drupalPlaceBlock('system_menu_block:account');

// Create a user.
Expand Down

0 comments on commit 80a6b7f

Please sign in to comment.