Skip to content

Commit f5ca391

Browse files
committed
Get tests back in working order
1 parent f973285 commit f5ca391

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/Integration/Api/Application/Location/LocationControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
],

tests/Integration/Api/Application/Users/UserControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
],

0 commit comments

Comments
 (0)