public function RequirePluginTest::testBasicSettingCommands in Googalytics - Google Analytics 8
Test the command array for a basic command without additional options.
File
- tests/
src/ Unit/ AnalyticsCommand/ RequirePluginTest.php, line 26
Class
- RequirePluginTest
- @coversDefaultClass \Drupal\ga\AnalyticsCommand\RequirePlugin @group ga
Namespace
Drupal\Tests\ga\Unit\AnalyticsCommandCode
public function testBasicSettingCommands() {
$command = new RequirePlugin('pluginName');
$this
->assertEquals([
[
'require',
'pluginName',
],
], $command
->getSettingCommands());
}