mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
user_groups: Track acting user for remove_members_from_user_group.
This is a prep-commit for populating RealmAuditLogs for changes made to UserGroup. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
7ae4549b3f
commit
e4cf3611cf
@@ -452,7 +452,9 @@ class MissedMessageNotificationsTest(ZulipTestCase):
|
||||
already_notified={"email_notified": True, "push_notified": True},
|
||||
)
|
||||
destroy_event_queue(user_profile, client_descriptor.event_queue.id)
|
||||
remove_members_from_user_group(hamlet_and_cordelia, [user_profile.id, cordelia.id])
|
||||
remove_members_from_user_group(
|
||||
hamlet_and_cordelia, [user_profile.id, cordelia.id], acting_user=None
|
||||
)
|
||||
|
||||
# Test the hook with a stream message with stream_push_notify
|
||||
change_subscription_properties(user_profile, stream, sub, {"push_notifications": True})
|
||||
|
||||
Reference in New Issue
Block a user