diff --git a/tests/integration/features/bootstrap/WebDav.php b/tests/integration/features/bootstrap/WebDav.php index b601a51ffc90..b4c4e63a5184 100644 --- a/tests/integration/features/bootstrap/WebDav.php +++ b/tests/integration/features/bootstrap/WebDav.php @@ -141,7 +141,6 @@ public function downloadFileWithRange($fileSource, $range){ public function downloadPublicFileWithRange($range){ $token = $this->lastShareData->data->token; $fullUrl = substr($this->baseUrl, 0, -4) . "public.php/webdav"; - $headers['Range'] = $range; $client = new GClient(); $options = []; @@ -160,7 +159,6 @@ public function downloadPublicFileWithRange($range){ public function downloadPublicFileInsideAFolderWithRange($path, $range){ $token = $this->lastShareData->data->token; $fullUrl = substr($this->baseUrl, 0, -4) . "public.php/webdav" . "$path"; - $headers['Range'] = $range; $client = new GClient(); $options = []; @@ -429,6 +427,7 @@ public function getSabreClient($user) { } else { $settings['password'] = $this->regularUser; } + $settings['authType'] = SClient::AUTH_BASIC; return new SClient($settings); } @@ -686,6 +685,8 @@ public function changeFavStateOfAnElement($user, $path, $favOrUnfav, $folderDept } else { $settings['password'] = $this->regularUser; } + $settings['authType'] = SClient::AUTH_BASIC; + $client = new SClient($settings); if (!$properties) { $properties = [