diff --git a/tests/acceptance/features/bootstrap/WebDav.php b/tests/acceptance/features/bootstrap/WebDav.php index a86e993a63f..f5e69882d92 100644 --- a/tests/acceptance/features/bootstrap/WebDav.php +++ b/tests/acceptance/features/bootstrap/WebDav.php @@ -3362,7 +3362,8 @@ public function userDownloadsFollowingFiles( $files = $table->getHash(); $this->emptyLastHTTPStatusCodesArray(); foreach ($files as $fileName) { - $this->downloadFileAsUserUsingPassword($user, $fileName["path"]); + $response = $this->downloadFileAsUserUsingPassword($user, $fileName["path"]); + $this->setResponse($response); $this->pushToLastStatusCodesArrays(); } } @@ -4933,7 +4934,7 @@ public function userUploadsFileWithContentSharedResourceToUsingTheWebdavApi(stri if ($this->getDavPathVersion() === 3) { $this->setResponse($this->uploadToSharedFolder($user, $destination, $content)); } else { - $this->uploadFileWithContent($user, $content, $destination); + $this->setResponse($this->uploadFileWithContent($user, $content, $destination)); } }