You are here

public function TourTestBasic::testTips in Zircon Profile 8

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

A simple tip test.

File

core/modules/tour/src/Tests/TourTestBasic.php, line 68
Contains \Drupal\tour\Tests\TourTestBasic.

Class

TourTestBasic
Simple tour tips test base.

Namespace

Drupal\tour\Tests

Code

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