You are here

protected function CacheContextOptimizationTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php \Drupal\KernelTests\Core\Cache\CacheContextOptimizationTest::setUp()
  2. 9 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\Cache

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'user',
  ]);
  $this
    ->installSchema('system', [
    'sequences',
  ]);
}