You are here

protected function DynamicPageCacheIntegrationTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php \Drupal\Tests\dynamic_page_cache\Functional\DynamicPageCacheIntegrationTest::setUp()
  2. 9 core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php \Drupal\Tests\dynamic_page_cache\Functional\DynamicPageCacheIntegrationTest::setUp()

File

core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php, line 38

Class

DynamicPageCacheIntegrationTest
Enables the Dynamic Page Cache and tests it in various scenarios.

Namespace

Drupal\Tests\dynamic_page_cache\Functional

Code

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

  // Uninstall the page_cache module; we want to test the Dynamic Page Cache
  // alone.
  \Drupal::service('module_installer')
    ->uninstall([
    'page_cache',
  ]);
}