Modifications to avoid old dav path

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/1525/head
Sergio Bertolín 10 years ago committed by Roeland Jago Douma
parent 88b0af4211
commit d81f4ea53c
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
  1. 4
      build/integration/features/bootstrap/WebDav.php
  2. 6
      build/integration/features/favorites.feature

@ -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;
}

@ -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

Loading…
Cancel
Save