You are here

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

File

core/modules/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php, line 42

Class

BigPipeRegressionTest
BigPipe regression test for CKEditor 4.

Namespace

Drupal\Tests\ckeditor\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();
}