summaryrefslogtreecommitdiffstats
path: root/tests/lib/files
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 /tests/lib/files
parent95a145f67f037d5b91ecebc33deaefbb4af96a79 (diff)
downloadnextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.tar.gz
nextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.zip
Add getMountPoint to FileInfo
Diffstat (limited to 'tests/lib/files')
-rw-r--r--tests/lib/files/node/file.php2
-rw-r--r--tests/lib/files/node/folder.php2
-rw-r--r--tests/lib/files/node/node.php2
-rw-r--r--tests/lib/files/node/root.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/files/node/file.php b/tests/lib/files/node/file.php
index a1d2266edf7..e3b8019b4ca 100644
--- a/tests/lib/files/node/file.php
+++ b/tests/lib/files/node/file.php
@@ -22,7 +22,7 @@ class File extends \Test\TestCase {
}
protected function getFileInfo($data) {
- return new FileInfo('', null, '', $data);
+ return new FileInfo('', null, '', $data, null);
}
public function testDelete() {
diff --git a/tests/lib/files/node/folder.php b/tests/lib/files/node/folder.php
index e69a2776979..bcd9cc93b5e 100644
--- a/tests/lib/files/node/folder.php
+++ b/tests/lib/files/node/folder.php
@@ -25,7 +25,7 @@ class Folder extends \Test\TestCase {
}
protected function getFileInfo($data) {
- return new FileInfo('', null, '', $data);
+ return new FileInfo('', null, '', $data, null);
}
public function testDelete() {
diff --git a/tests/lib/files/node/node.php b/tests/lib/files/node/node.php
index 4697479ba95..49a2006c767 100644
--- a/tests/lib/files/node/node.php
+++ b/tests/lib/files/node/node.php
@@ -19,7 +19,7 @@ class Node extends \Test\TestCase {
}
protected function getFileInfo($data) {
- return new FileInfo('', null, '', $data);
+ return new FileInfo('', null, '', $data, null);
}
public function testStat() {
diff --git a/tests/lib/files/node/root.php b/tests/lib/files/node/root.php
index 35bd462157e..a763428209c 100644
--- a/tests/lib/files/node/root.php
+++ b/tests/lib/files/node/root.php
@@ -21,7 +21,7 @@ class Root extends \Test\TestCase {
}
protected function getFileInfo($data) {
- return new FileInfo('', null, '', $data);
+ return new FileInfo('', null, '', $data, null);
}
public function testGet() {