You are here

protected function Stable9TemplateOverrideTest::setUp in Drupal 9

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/Stable9TemplateOverrideTest.php, line 49

Class

Stable9TemplateOverrideTest
Tests Stable 9's template overrides.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function setUp() : void {
  parent::setUp();
  $this->themeHandler = $this->container
    ->get('theme_handler');
  $this->container
    ->get('theme_installer')
    ->install([
    'stable9',
  ]);
  $this
    ->installAllModules();
}