Added test for sending share invitation to user with expiration

This commit is contained in:
Prarup Gurung
2024-01-01 14:46:20 +05:45
parent d6daa53ca2
commit 82be964ec1
3 changed files with 104 additions and 2 deletions
@@ -106,6 +106,7 @@ class SharingNgContext implements Context {
$role = $rows['role'] ?? null;
$permission = $rows['permission'] ?? null;
$expireDate = $rows["expireDate"] ?? null;
$this->featureContext->setResponse(
GraphHelper::sendSharingInvitation(
@@ -118,7 +119,8 @@ class SharingNgContext implements Context {
$shareeId,
$rows['shareType'],
$role,
$permission
$permission,
$expireDate
)
);
}