Skip to content

Commit

Permalink
setting response
Browse files Browse the repository at this point in the history
  • Loading branch information
KarunAtreya committed Oct 13, 2023
1 parent 26e87ec commit a42cacb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/acceptance/features/bootstrap/WebDav.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down Expand Up @@ -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));
}
}

Expand Down

0 comments on commit a42cacb

Please sign in to comment.