You are here

public function TourHelpPageTest::testHelp in Drupal 9

Same name and namespace in other branches
  1. 8 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);
}