You are here

protected function ThemeLegacyTest::setUp in Drupal 8

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

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Theme/ThemeLegacyTest.php, line 29

Class

ThemeLegacyTest
Tests legacy theme functions.

Namespace

Drupal\Tests\system\Functional\Theme

Code

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