We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f59086 commit 86a3c6fCopy full SHA for 86a3c6f
src/Metadata/Tests/Resource/OperationTest.php
@@ -60,4 +60,13 @@ public static function operationProvider(): \Generator
60
yield [new Mutation(...$args)];
61
yield [new Subscription(...$args)];
62
}
63
+
64
+ public function testPaginationViaCursor(): void
65
+ {
66
+ $operation = (new GetCollection())->withPaginationViaCursor(true);
67
+ $this->assertTrue($operation->canPaginateViaCursor());
68
69
+ $operation = (new GetCollection())->withPaginationViaCursor(false);
70
+ $this->assertFalse($operation->canPaginateViaCursor());
71
+ }
72
0 commit comments