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 497d7ed commit b4d1bbdCopy full SHA for b4d1bbd
spec/Controller/RequestDataHandler/PaginationDataHandlerSpec.php
@@ -18,6 +18,13 @@
18
19
final class PaginationDataHandlerSpec extends ObjectBehavior
20
{
21
+ function let(): void
22
+ {
23
+ $this->beConstructedWith(
24
+ 9,
25
+ );
26
+ }
27
+
28
function it_is_initializable(): void
29
30
$this->shouldHaveType(PaginationDataHandler::class);
@@ -32,7 +39,7 @@ function it_retrieves_data(): void
32
39
33
40
$this->retrieveData([])->shouldBeEqualTo([
34
41
PaginationDataHandlerInterface::PAGE_INDEX => 1,
35
- PaginationDataHandlerInterface::LIMIT_INDEX => PaginationDataHandlerInterface::DEFAULT_LIMIT,
42
+ PaginationDataHandlerInterface::LIMIT_INDEX => 9,
36
43
]);
37
44
}
38
45
0 commit comments