You are here

protected function CacheContextOptimizationTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Cache/CacheContextOptimizationTest.php \Drupal\system\Tests\Cache\CacheContextOptimizationTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/Cache/CacheContextOptimizationTest.php, line 33
Contains \Drupal\system\Tests\Cache\CacheContextOptimizationTest.

Class

CacheContextOptimizationTest
Tests the cache context optimization.

Namespace

Drupal\system\Tests\Cache

Code

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