You are here

public function TourPluginTest::testTourPlugins in Zircon Profile 8

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

Test tour plugins.

File

core/modules/tour/src/Tests/TourPluginTest.php, line 43
Contains \Drupal\tour\Tests\TourPluginTest.

Class

TourPluginTest
Tests the functionality of tour plugins.

Namespace

Drupal\tour\Tests

Code

public function testTourPlugins() {
  $this
    ->assertIdentical(count($this->pluginManager
    ->getDefinitions()), 1, 'Only tour plugins for the enabled modules were returned.');
}