protected function PageCacheTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/page_cache/tests/src/Functional/PageCacheTest.php \Drupal\Tests\page_cache\Functional\PageCacheTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php, line 40
Class
- PageCacheTest
- Enables the page cache and tests it with various HTTP requests.
Namespace
Drupal\Tests\page_cache\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->config('system.site')
->set('name', 'Drupal')
->set('page.front', '/test-page')
->save();
}