function PageCacheTagsIntegrationTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php \Drupal\Tests\page_cache\Functional\PageCacheTagsIntegrationTest::setUp()
  2. 8.9.x core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php \Drupal\Tests\page_cache\Functional\PageCacheTagsIntegrationTest::setUp()
  3. 10 core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php \Drupal\Tests\page_cache\Functional\PageCacheTagsIntegrationTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php, line 56

Class

PageCacheTagsIntegrationTest
Enables the page cache and tests its cache tags in various scenarios.

Namespace

Drupal\Tests\page_cache\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->enablePageCaching();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.