From a3bb4fdc9f100327ab34bfe56acbcc60f6b28568 Mon Sep 17 00:00:00 2001 From: prashant-gurung899 Date: Wed, 3 Jul 2024 14:49:17 +0545 Subject: [PATCH] remove unused step definition function Signed-off-by: prashant-gurung899 --- .../acceptance/features/bootstrap/WebDav.php | 50 ------------------- 1 file changed, 50 deletions(-) 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 *