Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Aug 16, 2023
1 parent 1fe8942 commit 1dfdf3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/SuccessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public function testSuccessWithPaginatedData()
'email' => $item->email,
];
})->all();

$data = [
'data' => $formatData,
'meta' => [
Expand All @@ -187,6 +188,10 @@ public function testSuccessWithPaginatedData()
'previous' => $paginated['prev_page_url'] ?? '',
'next' => $paginated['next_page_url'] ?? '',
],
'cursor' => [
'previous' => $paginated['prev_cursor'] ?? '',
'next' => $paginated['next_cursor'] ?? '',
],
],
],
];
Expand Down

0 comments on commit 1dfdf3e

Please sign in to comment.