remove unused index paramater

Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
This commit is contained in:
prashant-gurung899
2024-06-24 16:57:36 +05:45
parent 5f03a566ee
commit 263a3dc4e2
5 changed files with 32 additions and 22 deletions
@@ -3150,6 +3150,7 @@ class SpacesContext implements Context {
/**
* @When /^user "([^"]*)" downloads version of the file "([^"]*)" with the index "([^"]*)" of the space "([^"]*)" using the WebDAV API$/
* @When /^user "([^"]*)" tries to download version of the file "([^"]*)" with the index "([^"]*)" of the space "([^"]*)" using the WebDAV API$/
*
* @param string $user
* @param string $fileName
@@ -3171,17 +3172,16 @@ class SpacesContext implements Context {
}
/**
* @When /^user "([^"]*)" tries to get version of the file "([^"]*)" with the index "([^"]*)" of the space "([^"]*)" using the WebDAV API$/
* @When user :user tries to get versions of the file :file from the space :space using the WebDAV API
*
* @param string $user
* @param string $file
* @param string $index
* @param string $spaceName
*
* @return void
* @throws Exception
*/
public function userTriesToDownloadFileVersions(string $user, string $file, string $index, string $spaceName):void {
public function userTriesToDownloadFileVersions(string $user, string $file, string $spaceName):void {
$this->setSpaceIDByName($user, $spaceName);
$this->featureContext->setResponse(
$this->filesVersionsContext->getFileVersions($user, $file)