You are here

public function WikiTest::indicatorProvider in Freelinking 8.3

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

Provide test parameters for ::testGetIndicator().

Return value

array An array of test parameters.

File

tests/src/Unit/Plugin/freelinking/WikiTest.php, line 118

Class

WikiTest
Test the freelinking wiki plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function indicatorProvider() {
  return [
    [
      'wikipedia',
      1,
    ],
    [
      'wp',
      1,
    ],
    [
      'wikiquote',
      1,
    ],
    [
      'wq',
      1,
    ],
    [
      'wiktionary',
      1,
    ],
    [
      'wt',
      1,
    ],
    [
      'wikinews',
      1,
    ],
    [
      'wn',
      1,
    ],
    [
      'wikisource',
      1,
    ],
    [
      'ws',
      1,
    ],
    [
      'wikibooks',
      1,
    ],
    [
      'wb',
      1,
    ],
  ];
}