diff --git a/tests/acceptance/features/bootstrap/WebDav.php b/tests/acceptance/features/bootstrap/WebDav.php index d850296681..9d4fe57c37 100644 --- a/tests/acceptance/features/bootstrap/WebDav.php +++ b/tests/acceptance/features/bootstrap/WebDav.php @@ -882,18 +882,6 @@ trait WebDav { ); } - /** - * @When /^the user downloads file "([^"]*)" with range "([^"]*)" using the WebDAV API$/ - * - * @param string $fileSource - * @param string $range - * - * @return void - */ - public function theUserDownloadsFileWithRange(string $fileSource, string $range):void { - $this->setResponse($this->downloadFileWithRange($this->currentUser, $fileSource, $range)); - } - /** * @param string $user * @param string $fileSource @@ -1426,44 +1414,6 @@ trait WebDav { $this->checkDownloadedContentMatches("$content\n", '', $response); } - /** - * @Then /^the downloaded content when downloading file "([^"]*)" with range "([^"]*)" should be "([^"]*)"$/ - * - * @param string $fileSource - * @param string $range - * @param string $content - * - * @return void - */ - public function downloadedContentWhenDownloadingWithRangeShouldBe( - string $fileSource, - string $range, - string $content - ):void { - $this->checkDownloadedContentMatches($content); - } - - /** - * @Then /^the downloaded content when downloading file "([^"]*)" for user "([^"]*)" with range "([^"]*)" should be "([^"]*)"$/ - * - * @param string $fileSource - * @param string $user - * @param string $range - * @param string $content - * - * @return void - */ - public function downloadedContentWhenDownloadingForUserWithRangeShouldBe( - string $fileSource, - string $user, - string $range, - string $content - ):void { - $user = $this->getActualUsername($user); - $response = $this->downloadFileWithRange($user, $fileSource, $range); - $this->checkDownloadedContentMatches($content, '', $response); - } - /** * @When the user downloads the file :fileName using the WebDAV API *