Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-10-25 12:15:02 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-10-25 22:40:50 +0300
commit8098abee608e58dad8b73a1151233be525c25483 (patch)
treec20e892b3ecaa0b3effd85dc6596770c8db7a281 /apps/files_sharing/tests
parent1afefc2d9a0dba59fc083d4682ca5787023be791 (diff)
Do not return shares with the current user
Getting the shares of a file no longer returns shares with the current user for consistency with the results when getting the shares including subfiles. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/Controller/ShareAPIControllerTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
index 7c77406e4b5..c972c5c794e 100644
--- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
@@ -1018,7 +1018,6 @@ class ShareAPIControllerTest extends TestCase {
],
[
$file1UserShareOwnerExpected,
- $file1UserShareRecipientExpected,
]
],
[
@@ -1034,7 +1033,6 @@ class ShareAPIControllerTest extends TestCase {
],
[
$file1UserShareOwnerExpected,
- $file1UserShareRecipientExpected,
$file1UserShareInitiatorExpected,
$file1UserShareOtherExpected,
]