Merge pull request #685 from Megala21/test_case_fixes

Fixes https://github.com/wso2/product-iots/issues/346
4.x.x
Amal Gunatilake 8 years ago committed by GitHub
commit 7bcc47587c

@ -238,6 +238,7 @@ public class UserManagementServiceImpl implements UserManagementService {
} }
} }
rolesToDelete.remove(ROLE_EVERYONE); rolesToDelete.remove(ROLE_EVERYONE);
rolesToAdd.remove(ROLE_EVERYONE);
userStoreManager.updateRoleListOfUser(username, userStoreManager.updateRoleListOfUser(username,
rolesToDelete.toArray(new String[rolesToDelete.size()]), rolesToDelete.toArray(new String[rolesToDelete.size()]),
rolesToAdd.toArray(new String[rolesToAdd.size()])); rolesToAdd.toArray(new String[rolesToAdd.size()]));

Loading…
Cancel
Save