function ContentNegotiationRoutingTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php \Drupal\KernelTests\Core\Routing\ContentNegotiationRoutingTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php \Drupal\KernelTests\Core\Routing\ContentNegotiationRoutingTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php \Drupal\KernelTests\Core\Routing\ContentNegotiationRoutingTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php, line 28

Class

ContentNegotiationRoutingTest
Tests content negotiation routing variations.

Namespace

Drupal\KernelTests\Core\Routing

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('path_alias');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.