share routes refactoring

This commit is contained in:
Čarodej
2022-05-13 11:40:39 +02:00
parent c0e431b384
commit 69a48e8925
35 changed files with 267 additions and 145 deletions

View File

@@ -81,7 +81,7 @@ class GateTest extends TestCase
$this
->withUnencryptedCookies($cookie)
->patch("/api/editor/rename/{$children->id}/$share->token", [
->patch("/api/sharing/rename/{$children->id}/$share->token", [
'name' => 'Renamed Folder',
'type' => 'folder',
])
@@ -93,7 +93,7 @@ class GateTest extends TestCase
// Check public shared item
if (! $is_protected) {
$this->patchJson("/api/editor/rename/{$children->id}/$share->token", [
$this->patchJson("/api/sharing/rename/{$children->id}/$share->token", [
'name' => 'Renamed Folder',
'type' => 'folder',
])