You are here

protected function ContentNegotiationRoutingTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php \Drupal\KernelTests\Core\Routing\ContentNegotiationRoutingTest::setUp()
  2. 9 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');
}