You are here

public function BigPipeRegressionTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

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

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