Limitation API skelet with can upload tests

This commit is contained in:
Čarodej
2022-01-05 11:20:57 +01:00
parent 49c6f25acb
commit c7c11fe5b9
42 changed files with 549 additions and 187 deletions

View File

@@ -68,7 +68,7 @@ class SharedZippingTest extends TestCase
]);
});
$share = Share::factory(Share::class)
$share = Share::factory()
->create([
'item_id' => $sharedFolder->id,
'user_id' => $user->id,
@@ -131,7 +131,7 @@ class SharedZippingTest extends TestCase
'user_id' => $user->id,
]);
$share = Share::factory(Share::class)
$share = Share::factory()
->create([
'item_id' => $folder->id,
'user_id' => $user->id,
@@ -206,7 +206,7 @@ class SharedZippingTest extends TestCase
]);
});
$share = Share::factory(Share::class)
$share = Share::factory()
->create([
'item_id' => $children->id,
'user_id' => $user->id,
@@ -251,7 +251,7 @@ class SharedZippingTest extends TestCase
'user_id' => $user->id,
]);
$share = Share::factory(Share::class)
$share = Share::factory()
->create([
'user_id' => $user->id,
'type' => 'folder',