diff options
Diffstat (limited to 'tests/lib/files/node')
-rw-r--r-- | tests/lib/files/node/folder.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/lib/files/node/folder.php b/tests/lib/files/node/folder.php index b1589a276ba..08200f35f57 100644 --- a/tests/lib/files/node/folder.php +++ b/tests/lib/files/node/folder.php @@ -155,20 +155,12 @@ class Folder extends \PHPUnit_Framework_TestCase { array('fileid' => 3, 'path' => '/bar/foo/qwerty', 'name' => 'qwerty', 'size' => 200, 'mtime' => 55, 'mimetype' => 'httpd/unix-directory') ))); - $permissionsCache = $this->getMock('\OC\Files\Cache\Permissions', array(), array('/')); - $permissionsCache->expects($this->once()) - ->method('getDirectoryPermissions') - ->will($this->returnValue(array(2 => \OCP\PERMISSION_ALL))); - $root->expects($this->once()) ->method('getMountsIn') ->with('/bar/foo') ->will($this->returnValue(array())); $storage->expects($this->any()) - ->method('getPermissionsCache') - ->will($this->returnValue($permissionsCache)); - $storage->expects($this->any()) ->method('getCache') ->will($this->returnValue($cache)); |