diff --git a/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php new file mode 100644 index 0000000..83c58b5 --- /dev/null +++ b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php @@ -0,0 +1,36 @@ +drupalGet('user/login'); + $this->assertEquals($this->getSession()->getStatusCode(), 200); + $this->drupalGet('User/Login'); + $this->assertEquals($this->getSession()->getStatusCode(), 200); + } + + public function testViewsPath() { + $admin = $this->drupalCreateUser(['access administration pages', 'administer nodes', 'access content overview']); + $this->drupalLogin($admin); + + $this->drupalGet('admin/content'); + $this->assertEquals($this->getSession()->getStatusCode(), 200); + $this->drupalGet('Admin/Content'); + $this->assertEquals($this->getSession()->getStatusCode(), 200); + } + +}