public function SeekTest::testSeekProvider in GraphQL 8.4
Data provider for testSeek().
Return value
array
File
- tests/
src/ Kernel/ DataProducer/ SeekTest.php, line 40
Class
- SeekTest
- Data producers Seek test class.
Namespace
Drupal\Tests\graphql\Kernel\DataProducerCode
public function testSeekProvider() {
return [
[
[
1,
2,
3,
],
0,
1,
],
[
[
1,
2,
3,
],
1,
2,
],
[
[
1,
2,
3,
],
3,
NULL,
],
[
[
1,
[
2,
],
3,
],
1,
[
2,
],
],
// For now, we do not support negative indices.
[
[
1,
2,
3,
],
-1,
NULL,
],
];
}