You are here

public function TourTestBasic::testTips in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::testTips()

A simple tip test.

File

core/modules/tour/tests/src/Functional/TourTestBasic.php, line 63

Class

TourTestBasic
Simple tour tips test base.

Namespace

Drupal\Tests\tour\Functional

Code

public function testTips() {
  foreach ($this->tips as $path => $attributes) {
    $this
      ->drupalGet($path);
    $this
      ->assertTourTips($attributes);
  }
}