public function GenericTest::testWithTrackerNameSettingCommands in Googalytics - Google Analytics 8
Test the command when a tracker name is provided.
File
- tests/
src/ Unit/ AnalyticsCommand/ GenericTest.php, line 44
Class
- GenericTest
- @coversDefaultClass \Drupal\ga\AnalyticsCommand\Generic @group ga
Namespace
Drupal\Tests\ga\Unit\AnalyticsCommandCode
public function testWithTrackerNameSettingCommands() {
$command = new Generic('commandName', [], 'tracker');
$this
->assertEquals([
[
'tracker.commandName',
],
], $command
->getSettingCommands());
}