function BigPipeRegressionTest::setUp

Same name in this branch
  1. 9 core/modules/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\ckeditor\FunctionalJavascript\BigPipeRegressionTest::setUp()
Same name in other branches
  1. 8.9.x core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::setUp()
  2. 10 core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php \Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::setUp()
  3. 11.x 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 33

Class

BigPipeRegressionTest
BigPipe regression tests.

Namespace

Drupal\Tests\big_pipe\FunctionalJavascript

Code

public 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.