You are here

protected function BaseThemeMissingTest::setUp in Drupal 9

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

Overrides KernelTestBase::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');
}