You are here

protected function EngineNyanCatTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php \Drupal\Tests\system\Functional\Theme\EngineNyanCatTest::setUp()
  2. 9 core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php \Drupal\Tests\system\Functional\Theme\EngineNyanCatTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php, line 26

Class

EngineNyanCatTest
Tests the multi theme engine support.

Namespace

Drupal\Tests\system\Functional\Theme

Code

protected function setUp() : void {
  parent::setUp();
  \Drupal::service('theme_installer')
    ->install([
    'test_theme_nyan_cat_engine',
  ]);
}