public function SearchApiStringTest::provideTrimValues in Facets 8
Data provider for ::provideTrimValues.
Return value
array An array of expected and input values.
File
- tests/
src/ Unit/ Plugin/ query_type/ SearchApiStringTest.php, line 179
Class
- SearchApiStringTest
- Unit test for query type.
Namespace
Drupal\Tests\facets\Unit\Plugin\query_typeCode
public function provideTrimValues() {
return [
[
'owl',
'"owl"',
],
[
'owl',
'owl',
],
[
'owl',
'"owl',
],
[
'owl',
'owl"',
],
[
'"owl',
'""owl"',
],
[
'owl"',
'"owl""',
],
];
}