summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-16 14:24:48 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-17 14:03:50 +0100
commitfd854247423de0d74b05b44bf16572d2be943819 (patch)
tree9c51dd102bc2f5f318e6081a23e93dd1164b6548 /apps/files/tests
parent95a145f67f037d5b91ecebc33deaefbb4af96a79 (diff)
downloadnextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.tar.gz
nextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.zip
Add getMountPoint to FileInfo
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/ajax_rename.php2
-rw-r--r--apps/files/tests/helper.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/tests/ajax_rename.php b/apps/files/tests/ajax_rename.php
index 48aed05823b..1cfecf9e58c 100644
--- a/apps/files/tests/ajax_rename.php
+++ b/apps/files/tests/ajax_rename.php
@@ -107,7 +107,7 @@ class Test_OC_Files_App_Rename extends \Test\TestCase {
'etag' => 'abcdef',
'directory' => '/',
'name' => 'new_name',
- ))));
+ ), null)));
$result = $this->files->rename($dir, $oldname, $newname);
diff --git a/apps/files/tests/helper.php b/apps/files/tests/helper.php
index 1b7c8eef43a..ea96e41d1d1 100644
--- a/apps/files/tests/helper.php
+++ b/apps/files/tests/helper.php
@@ -24,7 +24,8 @@ class Test_Files_Helper extends \Test\TestCase {
'mtime' => $mtime,
'type' => $isDir ? 'dir' : 'file',
'mimetype' => $isDir ? 'httpd/unix-directory' : 'application/octet-stream'
- )
+ ),
+ null
);
}