You are here

public function DisplayPageWebTest::testPagePaths in Drupal 9

Same name and namespace in other branches
  1. 8 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 as webtest.

Namespace

Drupal\Tests\views\Functional\Plugin

Code

public function testPagePaths() {
  $this
    ->drupalLogin($this->rootUser);
  $this
    ->assertPagePath('0');
  $this
    ->assertPagePath('9999');
  $this
    ->assertPagePath('☺');
}