public function TourPluginTest::testTourPlugins in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::testTourPlugins()
Test tour plugins.
File
- core/
modules/ tour/ tests/ src/ Kernel/ TourPluginTest.php, line 38
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.');
}