function UserPathTest::testUserLoginPage
Same name in other branches
- 8.9.x core/modules/views/tests/src/Functional/UserPathTest.php \Drupal\Tests\views\Functional\UserPathTest::testUserLoginPage()
- 10 core/modules/views/tests/src/Functional/UserPathTest.php \Drupal\Tests\views\Functional\UserPathTest::testUserLoginPage()
- 11.x core/modules/views/tests/src/Functional/UserPathTest.php \Drupal\Tests\views\Functional\UserPathTest::testUserLoginPage()
Tests if the login page is still available when using a wildcard path.
File
-
core/
modules/ views/ tests/ src/ Functional/ UserPathTest.php, line 32
Class
- UserPathTest
- Tests overriding user paths using wildcards.
Namespace
Drupal\Tests\views\FunctionalCode
public function testUserLoginPage() {
$this->drupalGet('user/login');
$this->assertSession()
->statusCodeEquals(200);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.