summaryrefslogtreecommitdiffstats
path: root/tests/lib/connector/sabre
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-17 14:10:11 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-17 14:10:11 +0200
commit07fdeba50b47848c995d38408635020e08cecb19 (patch)
treee1c8fd8432c11f3de08b01334250c48541a2fa6d /tests/lib/connector/sabre
parent2219087df6b3226e257547e5a02e120486ab4579 (diff)
downloadnextcloud-server-07fdeba50b47848c995d38408635020e08cecb19.tar.gz
nextcloud-server-07fdeba50b47848c995d38408635020e08cecb19.zip
Fix moving movablemount over webdav
Diffstat (limited to 'tests/lib/connector/sabre')
-rw-r--r--tests/lib/connector/sabre/objecttree.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/connector/sabre/objecttree.php b/tests/lib/connector/sabre/objecttree.php
index 0075b7832b8..a88e23bbe2f 100644
--- a/tests/lib/connector/sabre/objecttree.php
+++ b/tests/lib/connector/sabre/objecttree.php
@@ -110,7 +110,8 @@ class ObjectTree extends PHPUnit_Framework_TestCase {
->will($this->returnValue(false));
/** @var $objectTree \OC\Connector\Sabre\ObjectTree */
- $objectTree->init($rootDir, $view);
+ $mountManager = \OC\Files\Filesystem::getMountManager();
+ $objectTree->init($rootDir, $view, $mountManager);
$objectTree->move($source, $dest);
}