You are here

protected function SiteAlertWebDriverTestBase::setUp in Site Alert 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/SiteAlertWebDriverTestBase.php, line 28

Class

SiteAlertWebDriverTestBase
Base class for functional JS tests for the Site Alerts module.

Namespace

Drupal\Tests\site_alert\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();

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