summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/WebDav.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/WebDav.php')
-rw-r--r--build/integration/features/bootstrap/WebDav.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index 37a398e2aae..b36cdfaea68 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -423,8 +423,12 @@ trait WebDav {
return $parsedResponse;
}
- public function makeSabrePath($user, $path) {
- return $this->encodePath($this->getDavFilesPath($user) . $path);
+ public function makeSabrePath($user, $path, $type = 'files') {
+ if ($type === 'files') {
+ return $this->encodePath($this->getDavFilesPath($user) . $path);
+ } else {
+ return $this->encodePath($this->davPath . '/' . $type . '/' . $user . '/' . $path);
+ }
}
public function getSabreClient($user) {