You are here

public function UserPathTest::testUserLoginPage in Drupal 8

Same name and namespace in other branches
  1. 9 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\Functional

Code

public function testUserLoginPage() {
  $this
    ->drupalGet('user/login');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}