You are here

protected function BaseThemeMissingTest::setUp in Drupal 10

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

File

core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php, line 34

Class

BaseThemeMissingTest
Tests the behavior of a theme when base_theme info key is missing.

Namespace

Drupal\KernelTests\Core\Theme

Code

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