Merge pull request #5542 from owncloud/bump-web-v7.0.0-rc.12

[full-ci] chore: bump web v7.0.0-rc.12
This commit is contained in:
Michael Barz
2023-02-10 09:23:19 +01:00
committed by GitHub
3 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=99028c2d3dde103e5bab6636396ea92f2d9fbcea
WEB_COMMITID=6bcdcc5c0ccf7a13bc8f9da2e342073a07744705
WEB_BRANCH=master

View File

@@ -1,6 +1,6 @@
SHELL := bash
NAME := web
WEB_ASSETS_VERSION = v7.0.0-rc.11
WEB_ASSETS_VERSION = v7.0.0-rc.12
include ../../.make/recursion.mk

View File

@@ -3282,11 +3282,13 @@ class SpacesContext implements Context {
$recipientId = $this->getUserIdByUserName($user);
foreach ($spaceAsArray['root']['permissions'] as $permission) {
$foundRoleInResponse = false;
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
$foundRoleInResponse = true;
break;
if (\array_key_exists($recipientType, $permission['grantedToIdentities'][0])) {
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
$foundRoleInResponse = true;
break;
}
Assert::assertTrue($foundRoleInResponse, "the response does not contain the $recipientType $recipient");
}
Assert::assertTrue($foundRoleInResponse, "the response does not contain the $recipientType $recipient");
}
}
}