[tests-only][full-ci]Added tests for create link share without password (#8040)
* Added tests for create link share without password * fix CI failure
This commit is contained in:
@@ -141,8 +141,9 @@ class SharingNgContext implements Context {
|
||||
$itemId = $this->spacesContext->getFileId($user, $space, $resource);
|
||||
}
|
||||
|
||||
$bodyRows['displayName'] = \array_key_exists('displayName', $bodyRows) ? $bodyRows['displayName'] : null;
|
||||
$bodyRows['expirationDateTime'] = \array_key_exists('expirationDateTime', $bodyRows) ? $bodyRows['expirationDateTime'] : null;
|
||||
$bodyRows['displayName'] = $bodyRows['displayName'] ?? null;
|
||||
$bodyRows['expirationDateTime'] = $bodyRows['expirationDateTime'] ?? null;
|
||||
$bodyRows['password'] = $bodyRows['password'] ?? null;
|
||||
$body = [
|
||||
'type' => $bodyRows['role'],
|
||||
'displayName' => $bodyRows['displayName'],
|
||||
|
||||
Reference in New Issue
Block a user