You are here

protected function BigPipeRegressionTest::setUp in Drupal 10

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

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();
}