removing usage of a stepdefination inside another stepdefination in FilesVersionsContext.php (#9053)

This commit is contained in:
nirajacharya2
2024-05-06 11:49:15 +05:45
committed by GitHub
parent e8cc3c26ab
commit 3f85870bba
2 changed files with 18 additions and 4 deletions
@@ -3153,7 +3153,9 @@ class SpacesContext implements Context {
*/
public function userTriesToDownloadFileVersions(string $user, string $file, string $index, string $spaceName):void {
$this->setSpaceIDByName($user, $spaceName);
$this->filesVersionsContext->userGetsFileVersions($user, $file);
$this->featureContext->setResponse(
$this->filesVersionsContext->getFileVersions($user, $file)
);
}
/**