[test-only] update share without permission (#8748)
* update share without permission * Update resharing.feature * Update resharing.feature
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user