You are here

public function GoogleSearchTest::indicatorProvider in Freelinking 8.3

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

Provides test parameters for ::testGetIndicator.

Return value

array An array of test parameters.

File

tests/src/Unit/Plugin/freelinking/GoogleSearchTest.php, line 123

Class

GoogleSearchTest
Tests the google search plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function indicatorProvider() {
  return [
    [
      'nomatch',
      0,
    ],
    [
      'google',
      1,
    ],
  ];
}