summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-06-25 15:09:58 +0200
committericewind1991 <robin@icewind.nl>2014-06-25 15:09:58 +0200
commit16396e2e3314a3dcd0fde2396212e3986e6e8ad2 (patch)
tree66a24724a77d083794a2b51d115e8f97e4a856fb /tests
parentc94c69aea1ad668f7b8f523a89bcb12dab561589 (diff)
parent24f15fca6429f741ec060086770ba9961035cc02 (diff)
downloadnextcloud-server-16396e2e3314a3dcd0fde2396212e3986e6e8ad2.tar.gz
nextcloud-server-16396e2e3314a3dcd0fde2396212e3986e6e8ad2.zip
Merge pull request #9123 from owncloud/webdav-move-permissions
Fix permissions check when moving a file to a different directory over webdav
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];
}