You are here

protected function BaseThemeRequiredTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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() : void {
  parent::setUp();
  $this->themeInstaller = $this->container
    ->get('theme_installer');
  $this->themeManager = $this->container
    ->get('theme.manager');
}