function ContentNegotiationTest::setUp

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/src/Kernel/DrupalKernel/ContentNegotiationTest.php \Drupal\Tests\system\Kernel\DrupalKernel\ContentNegotiationTest::setUp()

File

core/modules/system/tests/src/Kernel/DrupalKernel/ContentNegotiationTest.php, line 27

Class

ContentNegotiationTest
Tests content negotiation.

Namespace

Drupal\Tests\system\Kernel\DrupalKernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig([
    'system',
  ]);
}

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