Skip to content

Commit b4d1bbd

Browse files
committed
PHPSpec fix
1 parent 497d7ed commit b4d1bbd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

spec/Controller/RequestDataHandler/PaginationDataHandlerSpec.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818

1919
final class PaginationDataHandlerSpec extends ObjectBehavior
2020
{
21+
function let(): void
22+
{
23+
$this->beConstructedWith(
24+
9,
25+
);
26+
}
27+
2128
function it_is_initializable(): void
2229
{
2330
$this->shouldHaveType(PaginationDataHandler::class);
@@ -32,7 +39,7 @@ function it_retrieves_data(): void
3239
{
3340
$this->retrieveData([])->shouldBeEqualTo([
3441
PaginationDataHandlerInterface::PAGE_INDEX => 1,
35-
PaginationDataHandlerInterface::LIMIT_INDEX => PaginationDataHandlerInterface::DEFAULT_LIMIT,
42+
PaginationDataHandlerInterface::LIMIT_INDEX => 9,
3643
]);
3744
}
3845
}

0 commit comments

Comments
 (0)