summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio BertolĂ­n <sbertolin@solidgear.es>2016-09-20 15:16:39 +0000
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-05 08:19:43 +0200
commitd81f4ea53ced0921072d7688146b8dae028268cf (patch)
tree75c86e0e40e2e35ca335b5ed96e5411622b63a6b /build
parent88b0af4211f72d2607d4aa2eef0be681340352f1 (diff)
downloadnextcloud-server-d81f4ea53ced0921072d7688146b8dae028268cf.tar.gz
nextcloud-server-d81f4ea53ced0921072d7688146b8dae028268cf.zip
Modifications to avoid old dav path
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/WebDav.php4
-rw-r--r--build/integration/features/favorites.feature6
2 files changed, 5 insertions, 5 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index be181f2bcb7..c25add74f38 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -368,7 +368,7 @@ trait WebDav {
}
public function makeSabrePath($path) {
- return $this->encodePath($this->davPath . '/' . ltrim($path, '/'));
+ return $this->encodePath($this->davPath . $this->getFilesPath() . ltrim($path, '/'));
}
public function getSabreClient($user) {
@@ -584,7 +584,7 @@ trait WebDav {
];
}
- $response = $client->proppatch($this->davPath . '/' . ltrim($path, '/'), $properties, $folderDepth);
+ $response = $client->proppatch($this->davPath . $this->getFilesPath() . ltrim($path, '/'), $properties, $folderDepth);
return $response;
}
diff --git a/build/integration/features/favorites.feature b/build/integration/features/favorites.feature
index 605e9fd6d7b..baf4eadb166 100644
--- a/build/integration/features/favorites.feature
+++ b/build/integration/features/favorites.feature
@@ -49,7 +49,7 @@ Feature: favorite
|{http://owncloud.org/ns}favorite|
And the single response should contain a property "{http://owncloud.org/ns}favorite" with value "1"
- Scenario: Favorite and unfavorite a folder
+ Scenario: Favorite and unfavorite a folder new endpoint
Given using dav path "remote.php/dav"
And As an "admin"
And user "user0" exists
@@ -59,7 +59,7 @@ Feature: favorite
|{http://owncloud.org/ns}favorite|
And the single response should contain a property "{http://owncloud.org/ns}favorite" with value ""
- Scenario: Favorite a file
+ Scenario: Favorite a file new endpoint
Given using dav path "remote.php/dav"
And As an "admin"
And user "user0" exists
@@ -68,7 +68,7 @@ Feature: favorite
|{http://owncloud.org/ns}favorite|
And the single response should contain a property "{http://owncloud.org/ns}favorite" with value "1"
- Scenario: Favorite and unfavorite a file
+ Scenario: Favorite and unfavorite a file new endpoint
Given using dav path "remote.php/dav"
And As an "admin"
And user "user0" exists