You are here

public function StableTemplateOverrideTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php \Drupal\KernelTests\Core\Theme\StableTemplateOverrideTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php, line 51
Contains \Drupal\KernelTests\Core\Theme\StableTemplateOverrideTest.

Class

StableTemplateOverrideTest
Tests Stable's template overrides.

Namespace

Drupal\KernelTests\Core\Theme

Code

public function setUp() {
  parent::setUp();
  $this->themeHandler = $this->container
    ->get('theme_handler');
  $this->container
    ->get('theme_installer')
    ->install([
    'stable',
  ]);
  $this
    ->installSchema('system', 'router');
  $this
    ->installAllModules();
}