public function UserPathTest::testUserLoginPage in Drupal 9
Same name and namespace in other branches
- 8 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);
}