You are here

public function PageviewTest::testBasicSettingCommands in Googalytics - Google Analytics 8

Test the command array for a basic command without additional options.

File

tests/src/Unit/AnalyticsCommand/PageviewTest.php, line 26

Class

PageviewTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Pageview @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testBasicSettingCommands() {
  $command = new Pageview();
  $this
    ->assertEquals([
    [
      'send',
      'pageview',
    ],
  ], $command
    ->getSettingCommands());
}