function BigPipeRegressionTest::setUp

Same name in other branches
  1. 9 core/modules/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\ckeditor\FunctionalJavascript\BigPipeRegressionTest::setUp()
  2. 9 core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::setUp()
  3. 8.9.x core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::setUp()
  4. 10 core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php, line 36

Class

BigPipeRegressionTest
BigPipe regression tests.

Namespace

Drupal\Tests\big_pipe\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    // Use the big_pipe_test_theme theme.
    $this->container
        ->get('theme_installer')
        ->install([
        'big_pipe_test_theme',
    ]);
    $this->container
        ->get('config.factory')
        ->getEditable('system.theme')
        ->set('default', 'big_pipe_test_theme')
        ->save();
}

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