diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index be181f2bcb..c25add74f3 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 605e9fd6d7..baf4eadb16 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