paginator refactoring and implementation into the routes

This commit is contained in:
Čarodej
2022-05-24 18:19:34 +02:00
parent 31218240ae
commit b9975de700
61 changed files with 1215 additions and 829 deletions

View File

@@ -182,7 +182,7 @@ class TeamsTest extends TestCase
$this
->actingAs($user)
->getJson('/api/teams/folders/undefined')
->getJson('/api/teams/folders/all?page=1')
->assertOk()
->assertJsonFragment([
'id' => $folder->id,
@@ -255,7 +255,7 @@ class TeamsTest extends TestCase
$this
->actingAs($member)
->getJson('/api/teams/shared-with-me/undefined')
->getJson('/api/teams/shared-with-me/all?page=1')
->assertOk()
->assertJsonFragment([
'id' => $folders[0]->id,