function TourHelpPageTest::testHelp

Same name in other branches
  1. 8.9.x core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::testHelp()
  2. 10 core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::testHelp()
  3. 11.x core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::testHelp()

Logs in users, tests help pages.

File

core/modules/tour/tests/src/Functional/TourHelpPageTest.php, line 62

Class

TourHelpPageTest
Verifies help page display of tours.

Namespace

Drupal\Tests\tour\Functional

Code

public function testHelp() {
    $this->drupalLogin($this->tourUser);
    $this->verifyHelp();
    $this->drupalLogin($this->noTourUser);
    $this->verifyHelp(FALSE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.