Merge pull request #685 from Megala21/test_case_fixes

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

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

Loading…
Cancel
Save