File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/Integration/Api/Application Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testGetLocations()
1818 {
1919 $ locations = Location::factory ()->times (2 )->create ();
2020
21- $ response = $ this ->getJson ('/api/application/locations ' );
21+ $ response = $ this ->getJson ('/api/application/locations?per_page=60 ' );
2222 $ response ->assertStatus (Response::HTTP_OK );
2323 $ response ->assertJsonCount (2 , 'data ' );
2424 $ response ->assertJsonStructure ([
@@ -38,7 +38,7 @@ public function testGetLocations()
3838 'pagination ' => [
3939 'total ' => 2 ,
4040 'count ' => 2 ,
41- 'per_page ' => 100 ,
41+ 'per_page ' => 60 ,
4242 'current_page ' => 1 ,
4343 'total_pages ' => 1 ,
4444 ],
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testGetUsers()
1818 {
1919 $ user = User::factory ()->create ();
2020
21- $ response = $ this ->getJson ('/api/application/users ' );
21+ $ response = $ this ->getJson ('/api/application/users?per_page=60 ' );
2222 $ response ->assertStatus (Response::HTTP_OK );
2323 $ response ->assertJsonCount (2 , 'data ' );
2424 $ response ->assertJsonStructure ([
@@ -38,7 +38,7 @@ public function testGetUsers()
3838 'pagination ' => [
3939 'total ' => 2 ,
4040 'count ' => 2 ,
41- 'per_page ' => 100 ,
41+ 'per_page ' => 60 ,
4242 'current_page ' => 1 ,
4343 'total_pages ' => 1 ,
4444 ],
You can’t perform that action at this time.
0 commit comments