[full-ci] [tests-only] Added api test for edit user using graph API (#5150)

This commit is contained in:
Prarup Gurung
2022-12-14 14:15:18 +05:45
committed by GitHub
parent 6949dbd125
commit 00efd8af2e
3 changed files with 254 additions and 4 deletions
@@ -128,6 +128,7 @@ class RoleAssignmentContext implements Context {
$admin = $this->featureContext->getAdminUserName();
$roleId = $this->userGetRoleIdByRoleName($admin, $role);
$userId = $this->featureContext->getAttributeOfCreatedUser($user, 'id');
$userId = $userId ?? $user;
$this->setRoleToUser($admin, $userId, $roleId);
}