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:
3 files changed
+8
-6
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
# The test runner source for UI tests
|
# The test runner source for UI tests
|
||||||
WEB_COMMITID=99028c2d3dde103e5bab6636396ea92f2d9fbcea
|
WEB_COMMITID=6bcdcc5c0ccf7a13bc8f9da2e342073a07744705
|
||||||
WEB_BRANCH=master
|
WEB_BRANCH=master
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
SHELL := bash
|
SHELL := bash
|
||||||
NAME := web
|
NAME := web
|
||||||
WEB_ASSETS_VERSION = v7.0.0-rc.11
|
WEB_ASSETS_VERSION = v7.0.0-rc.12
|
||||||
|
|
||||||
include ../../.make/recursion.mk
|
include ../../.make/recursion.mk
|
||||||
|
|
||||||
|
|||||||
@@ -3282,11 +3282,13 @@ class SpacesContext implements Context {
|
|||||||
$recipientId = $this->getUserIdByUserName($user);
|
$recipientId = $this->getUserIdByUserName($user);
|
||||||
foreach ($spaceAsArray['root']['permissions'] as $permission) {
|
foreach ($spaceAsArray['root']['permissions'] as $permission) {
|
||||||
$foundRoleInResponse = false;
|
$foundRoleInResponse = false;
|
||||||
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
|
if (\array_key_exists($recipientType, $permission['grantedToIdentities'][0])) {
|
||||||
$foundRoleInResponse = true;
|
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
|
||||||
break;
|
$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");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user