protected function CacheContextOptimizationTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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',
]);
}