You are here

protected function CaseInsensitivePathTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php \Drupal\FunctionalTests\Routing\CaseInsensitivePathTest::setUp()
  2. 9 core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php \Drupal\FunctionalTests\Routing\CaseInsensitivePathTest::setUp()

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php, line 27

Class

CaseInsensitivePathTest
Tests incoming path case insensitivity.

Namespace

Drupal\FunctionalTests\Routing

Code

protected function setUp() : void {
  parent::setUp();
  \Drupal::state()
    ->set('system_test.module_hidden', FALSE);
  $this
    ->createContentType([
    'type' => 'page',
  ]);
}