Skip to content

Commit faf86eb

Browse files
committed
[Tests] Update posts pagination test
1 parent 788e152 commit faf86eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/dummy/tests/Api/V1/Posts/IndexTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public function testPaginated(): void
7171
$posts = Post::factory()->count(5)->create();
7272

7373
$meta = [
74-
'current_page' => 1,
74+
'currentPage' => 1,
7575
'from' => 1,
76-
'last_page' => 2,
77-
'per_page' => 3,
76+
'lastPage' => 2,
77+
'perPage' => 3,
7878
'to' => 3,
7979
'total' => 5,
8080
];

0 commit comments

Comments
 (0)