public function TourPluginTest::testTourPlugins in Drupal 9
Same name and namespace in other branches
- 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\KernelCode
public function testTourPlugins() {
$this
->assertCount(1, $this->pluginManager
->getDefinitions(), 'Only tour plugins for the enabled modules were returned.');
}