You are here

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

Test the default priority.

File

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

Class

CreateTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Create @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand

Code

public function testDefaultPriority() {
  $command = new Create('UA-12345678-1');
  $this
    ->assertEquals(300, $command
    ->getPriority());
}