summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-07 01:03:11 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-07 01:03:11 +0100
commit439578288facbae3144f131aca85a7235f622053 (patch)
tree0bff7835cf5528cefeb9d3f091da4d3cf94a1b25 /tests
parent457dc270f5147863c00b55355542298ba4d41762 (diff)
downloadnextcloud-server-439578288facbae3144f131aca85a7235f622053.tar.gz
nextcloud-server-439578288facbae3144f131aca85a7235f622053.zip
Cache: split permission cache scanning and cache scanning
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/view.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 712166ab32c..4b0abc2201d 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -43,6 +43,7 @@ class View extends \PHPUnit_Framework_TestCase {
$cachedData = $rootView->getFileInfo('/foo.txt');
$this->assertEquals($textSize, $cachedData['size']);
$this->assertEquals('text/plain', $cachedData['mimetype']);
+ $this->assertEquals(\OCP\PERMISSION_ALL ^ \OCP\PERMISSION_CREATE, $cachedData['permissions']);
$cachedData = $rootView->getFileInfo('/');
$this->assertEquals($storageSize * 3, $cachedData['size']);