You are here

protected function RendererBubblingTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php \Drupal\Tests\Core\Render\RendererBubblingTest::setUp()

Overrides RendererTestBase::setUp

File

core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php, line 25
Contains \Drupal\Tests\Core\Render\RendererBubblingTest.

Class

RendererBubblingTest
@coversDefaultClass \Drupal\Core\Render\Renderer @group Render

Namespace

Drupal\Tests\Core\Render

Code

protected function setUp() : void {

  // Disable the required cache contexts, so that this test can test just the
  // bubbling behavior.
  $this->rendererConfig['required_cache_contexts'] = [];
  parent::setUp();
}