function LegacyStyleSheetsRemoveTest::setUp

Same name in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Theme/LegacyStyleSheetsRemoveTest.php \Drupal\Tests\system\Functional\Theme\LegacyStyleSheetsRemoveTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Theme/LegacyStyleSheetsRemoveTest.php, line 23

Class

LegacyStyleSheetsRemoveTest
Tests the legacy stylesheets-remove key.

Namespace

Drupal\Tests\system\Functional\Theme

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.