- changed limits for item list (#171)

* - changed limits for displayed items

* - transferred to models

* - updated tests
This commit is contained in:
2022-06-15 10:14:58 +02:00
committed by GitHub
parent 9147b859d3
commit 995c0b6696
4 changed files with 5 additions and 2 deletions

View File

@@ -73,10 +73,10 @@ class UserTest extends FeatureTestCase
public function testUserListIsPaginated(): void
{
User::factory()->count(15)->create();
User::factory()->count(50)->create();
$admin = User::factory()->admin()->create();
$this->assertDatabaseCount("users", 16);
$this->assertDatabaseCount("users", 51);
$this->actingAs($admin)
->get("/users?page=2")