diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-07 01:03:11 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-07 02:09:20 +0100 |
commit | ad3badeabff9dde839827558c281a691c611cf87 (patch) | |
tree | 3c48393d7f29fa6be3f5626f2c3e3064aee753c2 /tests | |
parent | 439578288facbae3144f131aca85a7235f622053 (diff) | |
download | nextcloud-server-ad3badeabff9dde839827558c281a691c611cf87.tar.gz nextcloud-server-ad3badeabff9dde839827558c281a691c611cf87.zip |
Cache: split permission cache scanning and cache scanning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 4b0abc2201d..53271142672 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -43,7 +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']); + $this->assertNotEquals(-1, $cachedData['permissions']); $cachedData = $rootView->getFileInfo('/'); $this->assertEquals($storageSize * 3, $cachedData['size']); |