function CacheContextOptimizationTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php \Drupal\KernelTests\Core\Cache\CacheContextOptimizationTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php \Drupal\KernelTests\Core\Cache\CacheContextOptimizationTest::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php \Drupal\KernelTests\Core\Cache\CacheContextOptimizationTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheContextOptimizationTest.php, line 28
Class
- CacheContextOptimizationTest
- Tests the cache context optimization.
Namespace
Drupal\KernelTests\Core\CacheCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
$this->installConfig([
'user',
]);
$this->installSchema('system', [
'sequences',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.