function DisplayPageWebTest::testPagePaths
Same name in other branches
- 9 core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php \Drupal\Tests\views\Functional\Plugin\DisplayPageWebTest::testPagePaths()
- 8.9.x core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php \Drupal\Tests\views\Functional\Plugin\DisplayPageWebTest::testPagePaths()
- 11.x core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php \Drupal\Tests\views\Functional\Plugin\DisplayPageWebTest::testPagePaths()
Tests the views page path functionality.
File
-
core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayPageWebTest.php, line 143
Class
- DisplayPageWebTest
- Tests the views page display plugin.
Namespace
Drupal\Tests\views\Functional\PluginCode
public function testPagePaths() : void {
$this->drupalLogin($this->createUser([
'administer views',
]));
$this->assertPagePath('0');
$this->assertPagePath('9999');
$this->assertPagePath('☺');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.