You are here

public function SendTest::testDefaultPriority in Googalytics - Google Analytics 8

Test the default priority.

File

tests/src/Unit/AnalyticsCommand/SendTest.php, line 17

Class

SendTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Send @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testDefaultPriority() {
  $command = new Send('pageview');
  $this
    ->assertEquals(-10, $command
    ->getPriority());
}