summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-09 16:15:29 +0100
committerRobin Appelman <icewind@owncloud.com>2015-04-27 14:07:15 +0200
commit518d5aadf51318886481696e4308fcc39684b508 (patch)
treef72fa0a77634b55500068d30e8afdb1356ffcefe /apps
parent849e5521de2afdf6efbcb70337079a50f012a6ce (diff)
downloadnextcloud-server-518d5aadf51318886481696e4308fcc39684b508.tar.gz
nextcloud-server-518d5aadf51318886481696e4308fcc39684b508.zip
Allow getting *all* share entries owned by a user
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/permissions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/permissions.php b/apps/files_sharing/tests/permissions.php
index 92703f4a905..91f0347163a 100644
--- a/apps/files_sharing/tests/permissions.php
+++ b/apps/files_sharing/tests/permissions.php
@@ -103,7 +103,9 @@ class Test_Files_Sharing_Permissions extends OCA\Files_sharing\Tests\TestCase {
}
protected function tearDown() {
- $this->sharedCache->clear();
+ if ($this->sharedCache) {
+ $this->sharedCache->clear();
+ }
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);