aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache/scanner.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-27 10:01:20 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-27 10:01:20 +0200
commit695405dfeb4da3733df1b1be239a97100f2ce66f (patch)
treeb1e4aefe0bb45ab9ba25171eb595da4ada2148d2 /tests/lib/files/cache/scanner.php
parent99534271977ef5a4fd35ce119d6627bbcde45096 (diff)
downloadnextcloud-server-695405dfeb4da3733df1b1be239a97100f2ce66f.tar.gz
nextcloud-server-695405dfeb4da3733df1b1be239a97100f2ce66f.zip
add permissions data to the results of the cache api
Diffstat (limited to 'tests/lib/files/cache/scanner.php')
-rw-r--r--tests/lib/files/cache/scanner.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/files/cache/scanner.php b/tests/lib/files/cache/scanner.php
index e3f47047f54..34fefc784d4 100644
--- a/tests/lib/files/cache/scanner.php
+++ b/tests/lib/files/cache/scanner.php
@@ -106,6 +106,8 @@ class Scanner extends \UnitTestCase {
}
function tearDown() {
+ $ids = $this->cache->getAll();
+ \OC\Files\Cache\Permissions::removeMultiple($ids, \OC_User::getUser());
$this->cache->clear();
}
}