You are here

public function DisplayPageWebTest::testPagePaths in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Plugin/DisplayPageWebTest.php \Drupal\views\Tests\Plugin\DisplayPageWebTest::testPagePaths()

Tests the views page path functionality.

File

core/modules/views/src/Tests/Plugin/DisplayPageWebTest.php, line 148
Contains \Drupal\views\Tests\Plugin\DisplayPageWebTest.

Class

DisplayPageWebTest
Tests the views page display plugin as webtest.

Namespace

Drupal\views\Tests\Plugin

Code

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