Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/features/bootstrap/FeatureContext.php')
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index 786b6c6d0..967279aed 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -416,6 +416,9 @@ class FeatureContext implements Context, SnippetAcceptingContext {
if (isset($expectedKeys['permissions'])) {
$data['permissions'] = (string) $attendee['permissions'];
}
+ if (isset($expectedKeys['attendeePermissions'])) {
+ $data['attendeePermissions'] = (string) $attendee['attendeePermissions'];
+ }
if (!isset(self::$userToAttendeeId[$attendee['actorType']])) {
self::$userToAttendeeId[$attendee['actorType']] = [];
@@ -444,6 +447,9 @@ class FeatureContext implements Context, SnippetAcceptingContext {
if (isset($attendee['permissions'])) {
$attendee['permissions'] = $this->mapPermissionsAPIOutput($attendee['permissions']);
}
+ if (isset($attendee['attendeePermissions'])) {
+ $attendee['attendeePermissions'] = $this->mapPermissionsAPIOutput($attendee['attendeePermissions']);
+ }
return $attendee;
}, $result);