protected function DynamicPageCacheIntegrationTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/dynamic_page_cache/tests/src/Functional/DynamicPageCacheIntegrationTest.php \Drupal\Tests\dynamic_page_cache\Functional\DynamicPageCacheIntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ dynamic_page_cache/ tests/ src/ Functional/ DynamicPageCacheIntegrationTest.php, line 43
Class
- DynamicPageCacheIntegrationTest
- Enables the Dynamic Page Cache and tests it in various scenarios.
Namespace
Drupal\Tests\dynamic_page_cache\FunctionalCode
protected function setUp() {
parent::setUp();
// Uninstall the page_cache module; we want to test the Dynamic Page Cache
// alone.
\Drupal::service('module_installer')
->uninstall([
'page_cache',
]);
}