public void AddMemberToGroupWorking() { List <Group> groups = gc.GetUsersGroups(profileId); gc.RemoveMember(profileId, groups[0].ActivityId); Assert.AreEqual(true, gc.AddMember("Uganda", groups[0].ActivityId)); }
public void AddMemberToGroupWorking() { gc.CreateGroup("Group Name", profileId); List <Group> groups = gc.GetUsersGroups(profileId); gc.RemoveMember(profileId, groups[groups.Count - 1].ActivityId); Assert.AreEqual(true, gc.AddMember("Uganda", groups[groups.Count - 1].ActivityId, null, new DbConnection().GetConnection())); }