adding tests for sending a share invitation to a user on virtual drive (#8705)
This commit is contained in:
@@ -178,7 +178,7 @@ class SharingNgContext implements Context {
|
||||
$resource = $rows['resource'] ?? '';
|
||||
|
||||
// for a disabled and deleted space, resource id is not accessible, so get resource id from the saved response
|
||||
if ($resource === '' && $rows['space'] !== 'Personal') {
|
||||
if ($resource === '' && !\in_array($rows['space'], ['Personal', 'Shares'])) {
|
||||
$itemId = $space['fileId'];
|
||||
} else {
|
||||
$itemId = $this->spacesContext->getResourceId($user, $rows['space'], $resource);
|
||||
|
||||
Reference in New Issue
Block a user