You are here

protected function BaseThemeRequiredTest::setUp in Drupal 8

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php, line 36

Class

BaseThemeRequiredTest
Tests the behavior of the `base theme` key.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function setUp() {
  parent::setUp();
  $this->themeInstaller = $this->container
    ->get('theme_installer');
  $this->themeManager = $this->container
    ->get('theme.manager');
}