public function UserTest::indicatorProvider in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/Plugin/freelinking/UserTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\UserTest::indicatorProvider()
Provide test parameters for ::testGetIndicator.
Return value
array An array of test parameters.
File
- tests/
src/ Unit/ Plugin/ freelinking/ UserTest.php, line 152
Class
- UserTest
- Tests the user plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function indicatorProvider() {
return [
[
'nomatch',
0,
],
[
'u',
1,
],
[
'user',
1,
],
[
'username',
1,
],
[
'uid',
1,
],
[
'userid',
1,
],
];
}