comparison core/modules/views/tests/src/Functional/UserPathTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
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 }