
| Current Path : /var/www/html/pallets_old/pallets/web/core/modules/views/tests/src/Functional/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/pallets_old/pallets/web/core/modules/views/tests/src/Functional/UserPathTest.php |
<?php
namespace Drupal\Tests\views\Functional;
/**
* Tests overriding user paths using wildcards.
*
* @group views
*/
class UserPathTest extends ViewTestBase {
/**
* {@inheritdoc}
*/
protected static $modules = ['views', 'user'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* The test views to use.
*
* @var array
*/
public static $testViews = ['test_user_path'];
/**
* Tests if the login page is still available when using a wildcard path.
*/
public function testUserLoginPage() {
$this->drupalGet('user/login');
$this->assertSession()->statusCodeEquals(200);
}
}