[tests-only][full-ci]changing given from ocs to graph in feature file (#9142)

* changing given from ocs to graph in feature file

* addressing reviews
This commit is contained in:
Sabin Panta
2024-05-16 15:34:28 +05:45
committed by GitHub
parent c6e788b3c8
commit 6284411edb
5 changed files with 202 additions and 66 deletions
@@ -1690,9 +1690,9 @@ trait Sharing {
$shareId = (string) $this->getLastCreatedPublicShare()->id;
} else {
if ($sharer === null) {
$shareId = $this->getLastCreatedUserGroupShareId();
$shareId = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedUserGroupShareID() : $this->getLastCreatedUserGroupShareId();
} else {
$shareId = $this->getLastCreatedUserGroupShareId($sharer);
$shareId = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedUserGroupShareID() : $this->getLastCreatedUserGroupShareId($sharer);
}
}
$url = $this->getSharesEndpointPath("/$shareId");