[full-ci] [tests-only] Used sharing-ng in given steps (#9120)

* publicLinkDownload.feature: Used sharingNG for sharing in given step

* shareOperations.feature: Used sharingNG for sharing in given step
This commit is contained in:
Prarup Gurung
2024-05-09 17:17:14 +05:45
committed by GitHub
parent 5b240e6df4
commit b4b51437a0
4 changed files with 205 additions and 169 deletions
@@ -757,7 +757,7 @@ trait Sharing {
$share_id = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedLinkShareID() : (string) $this->getLastCreatedPublicShare()->id;
} else {
if ($shareOwner === null) {
$share_id = $this->getLastCreatedUserGroupShareId();
$share_id = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedUserGroupShareID() : $this->getLastCreatedUserGroupShareId();
} else {
$share_id = $this->getLastCreatedUserGroupShareId($shareOwner);
}