[tests-only] fix MOVE with another user dav path scenarios (#8460)
* test(api): fix MOVE with another user dav path scenarios * test(api): fix php code style * test(api): fix dav paths * test(api): fix dav paths
This commit is contained in:
@@ -2048,7 +2048,7 @@ class SpacesContext implements Context {
|
||||
if ($toSpaceName === 'Shares') {
|
||||
$sharesPath = $this->featureContext->getSharesMountPath($user, $fileDestination);
|
||||
$davPath = WebDavHelper::getDavPath($user, $this->featureContext->getDavPathVersion());
|
||||
$headers['Destination'] = $baseUrl . $davPath . $sharesPath;
|
||||
$headers['Destination'] = $baseUrl . "/$davPath" . $sharesPath;
|
||||
} else {
|
||||
$headers['Destination'] = $this->destinationHeaderValueWithSpaceName($user, $fileDestination, $toSpaceName, $url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user