Skip to content

Commit

Permalink
#56: Enhance data to support quiz grading and admin groups
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-may committed Nov 19, 2024
1 parent ddf0a4b commit a8f46f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ private void achieveQuizForUser(RestTemplate adminUserRest, String userId, Strin
private void createAdminGroups(RestTemplate adminUserRest) {
post(adminUserRest, skillsConfig.getServiceUrl() + "/app/admin-group-definitions/FancyGroup",
new AdminGroupRequest("FancyGroup", "Fancy Group"));
List<String> groupMembers = Arrays.asList("groupUser1@email.org", "groupUser2@email.org");
List<String> groupMembers = Arrays.asList("user5@email.com", "user6@email.org");
for (String userId: groupMembers) {
createUser(skillsConfig.getServiceUrl() + "/createAccount", userId);
post(adminUserRest, skillsConfig.getServiceUrl() + "/admin/admin-group-definitions/FancyGroup/users/" + userId + "/roles/ROLE_ADMIN_GROUP_MEMBER");
Expand Down

0 comments on commit a8f46f7

Please sign in to comment.