[test-only] update share without permission (#8748)

* update share without permission

* Update resharing.feature

* Update resharing.feature
This commit is contained in:
Viktor Scharf
2024-03-28 10:15:13 +01:00
committed by GitHub
parent e3e0a7ae39
commit 65b48d3460
4 changed files with 67 additions and 54 deletions
@@ -2338,6 +2338,7 @@ class SpacesContext implements Context {
public function userExpiresLastResourceShare(string $user): void {
$dateTime = new DateTime('yesterday');
$rows['expireDate'] = $dateTime->format('Y-m-d\\TH:i:sP');
$rows['permissions'] = (string) $this->featureContext->getLastCreatedPublicShare()->permissions;
$this->featureContext->setResponse($this->updateSharedResource($user, $rows));
}