function ClaroMenuUiJavascriptTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest::setUp()
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest::setUp()
  3. 11.x core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroMenuUiJavascriptTest::setUp()

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php, line 26

Class

ClaroMenuUiJavascriptTest
Runs MenuUiJavascriptTest in Claro.

Namespace

Drupal\FunctionalJavascriptTests\Theme

Code

protected function setUp() {
    parent::setUp();
    $this->container
        ->get('theme_installer')
        ->install([
        'claro',
    ]);
    $this->config('system.theme')
        ->set('default', 'claro')
        ->save();
}

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