You are here

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

Test the default priority.

File

tests/src/Unit/AnalyticsCommand/Linker/AutoLinkTest.php, line 17

Class

AutoLinkTest
@coversDefaultClass \Drupal\ga\AnalyticsCommand\Linker\AutoLink @group ga

Namespace

Drupal\Tests\ga\Unit\AnalyticsCommand\Linker

Code

public function testDefaultPriority() {
  $command = new AutoLink([
    'example.com',
  ]);
  $this
    ->assertEquals(0, $command
    ->getPriority());
}