public function IndexResourceTest::fulltextDataProvider in JSON:API Search API 8
Fulltext data provider.
Return value
\Generator The data.
File
- tests/
src/ Functional/ IndexResourceTest.php, line 197
Class
- IndexResourceTest
- Tests index resource..
Namespace
Drupal\Tests\jsonapi_search_api\FunctionalCode
public function fulltextDataProvider() : \Generator {
(yield [
[
'filter' => [
'fulltext' => 'föö',
],
],
1,
[
1,
],
[],
]);
(yield [
[
'filter' => [
'fulltext' => 'foo',
],
],
4,
[
1,
2,
4,
5,
],
[],
]);
}