function ClaroEntityDisplayTest::setUp

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

Overrides EntityDisplayTest::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroEntityDisplayTest.php, line 32

Class

ClaroEntityDisplayTest
Runs EntityDisplayTest in Claro.

Namespace

Drupal\FunctionalJavascriptTests\Theme

Code

protected function setUp() : void {
    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.