diff --git a/tests/RequestTest.php b/tests/RequestTest.php index ed859d3..0223d22 100644 --- a/tests/RequestTest.php +++ b/tests/RequestTest.php @@ -34,11 +34,11 @@ public function test_resource() ]]); $response->assertJsonFragment([ - "meta" => [ - "path" => 'test/resource?', - "next_cursor" => (string) $next_cur, - "per_page" => 5, - "previous_cursor" => (string) $prev_cur, + 'meta' => [ + 'path' => 'test/resource?', + 'next_cursor' => (string) $next_cur, + 'per_page' => 5, + 'previous_cursor' => (string) $prev_cur, ], ]); } @@ -59,11 +59,11 @@ public function test_prev_nav() ]]); $response->assertJsonFragment([ - "meta" => [ - "path" => 'test/resource?', - "next_cursor" => null, - "per_page" => 5, - "previous_cursor" => (string) $prev_cur, + 'meta' => [ + 'path' => 'test/resource?', + 'next_cursor' => null, + 'per_page' => 5, + 'previous_cursor' => (string) $prev_cur, ], ]); } @@ -86,11 +86,11 @@ public function test_more_middle_pagination() ]]); $response->assertJsonFragment([ - "meta" => [ - "path" => 'test/resource?', - "next_cursor" => (string) $prev_cur_added, - "per_page" => 5, - "previous_cursor" => (string) $first, + 'meta' => [ + 'path' => 'test/resource?', + 'next_cursor' => (string) $prev_cur_added, + 'per_page' => 5, + 'previous_cursor' => (string) $first, ], ]); @@ -116,11 +116,11 @@ public function test_prev_is_still_present() ]]); $response->assertJsonFragment([ - "meta" => [ - "path" => 'test/resource?', - "next_cursor" => (string) $next_cur_after, - "per_page" => 5, - "previous_cursor" => null, + 'meta' => [ + 'path' => 'test/resource?', + 'next_cursor' => (string) $next_cur_after, + 'per_page' => 5, + 'previous_cursor' => null, ], ]); @@ -146,11 +146,11 @@ public function test_surroundings_finished() ]]); $response->assertJsonFragment([ - "meta" => [ - "path" => 'test/resource?', - "next_cursor" => null, - "per_page" => 5, - "previous_cursor" => null, + 'meta' => [ + 'path' => 'test/resource?', + 'next_cursor' => null, + 'per_page' => 5, + 'previous_cursor' => null, ], ]);