Skip to content

Commit fb39884

Browse files
authored
test: missing provider argument (#6629)
1 parent 70e9b9a commit fb39884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/State/Pagination/TraversablePaginatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testInitialize(
2828
float $totalItems,
2929
float $lastPage,
3030
int $currentItems,
31-
bool $hasNextPage,
31+
bool $hasNextPage = false,
3232
): void {
3333
$traversable = new \ArrayIterator($results);
3434

@@ -47,7 +47,7 @@ public function testInitialize(
4747
public static function initializeProvider(): array
4848
{
4949
return [
50-
'First of three pages of 3 items each' => [[0, 1, 2, 3, 4, 5, 6], 1, 3, 7, 3, 3],
50+
'First of three pages of 3 items each' => [[0, 1, 2, 3, 4, 5, 6], 1, 3, 7, 3, 3, true],
5151
'Second of two pages of 3 items for the first page and 2 for the second' => [[0, 1, 2, 3, 4], 2, 3, 5, 2, 2],
5252
'Empty results' => [[], 1, 2, 0, 1, 0],
5353
'0 items per page' => [[0, 1, 2, 3], 1, 0, 4, 1, 4],

0 commit comments

Comments
 (0)