summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-20 15:40:38 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-20 15:40:38 +0200
commit24f15fca6429f741ec060086770ba9961035cc02 (patch)
treece255753478d80d6fcb8a1a3278110029366e73e /tests
parent80e6d357a2d0e42331208553a2bccb191ce4e41d (diff)
downloadnextcloud-server-24f15fca6429f741ec060086770ba9961035cc02.tar.gz
nextcloud-server-24f15fca6429f741ec060086770ba9961035cc02.zip
Fix unit tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/connector/sabre/objecttree.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/connector/sabre/objecttree.php b/tests/lib/connector/sabre/objecttree.php
index a88e23bbe2f..fc9f802066f 100644
--- a/tests/lib/connector/sabre/objecttree.php
+++ b/tests/lib/connector/sabre/objecttree.php
@@ -25,6 +25,10 @@ class TestDoubleFileView extends \OC\Files\View{
return $this->updatables[$path];
}
+ public function isCreatable($path) {
+ return $this->updatables[$path];
+ }
+
public function isDeletable($path) {
return $this->deletables[$path];
}