Pull merge.
[yaffs-website] / web / core / modules / views / tests / src / Functional / UserPathTest.php
1 <?php
2
3 namespace Drupal\Tests\views\Functional;
4
5 /**
6  * Tests overriding user paths using wildcards.
7  *
8  * @group views
9  */
10 class UserPathTest extends ViewTestBase {
11
12   /**
13    * {@inheritdoc}
14    */
15   public static $modules = ['views', 'user'];
16
17   /**
18    * The test views to use.
19    *
20    * @var array
21    */
22   public static $testViews = ['test_user_path'];
23
24   /**
25    * Tests if the login page is still available when using a wildcard path.
26    */
27   public function testUserLoginPage() {
28     $this->drupalGet('user/login');
29     $this->assertSession()->statusCodeEquals(200);
30   }
31
32 }