You are here

public function TourPluginTest::testTourPlugins in Drupal 9

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

Tests tour plugins.

File

core/modules/tour/tests/src/Kernel/TourPluginTest.php, line 43

Class

TourPluginTest
Tests the functionality of tour plugins.

Namespace

Drupal\Tests\tour\Kernel

Code

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