You are here

public function ExternalTest::indicatorProvider in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/Plugin/freelinking/ExternalTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\ExternalTest::indicatorProvider()

Provide test parameters for ::testGetIndicator.

Return value

array An array of test parameters.

File

tests/src/Unit/Plugin/freelinking/ExternalTest.php, line 204

Class

ExternalTest
Tests the external plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function indicatorProvider() {
  return [
    [
      'nomatch',
      0,
    ],
    [
      'http',
      1,
    ],
    [
      'https',
      1,
    ],
    [
      'ext',
      1,
    ],
    [
      'external',
      1,
    ],
  ];
}