refactor: Make acting_user a mandatory kwarg for do_set_realm_notifications_stream.

This commit is contained in:
shanukun
2021-03-08 09:54:00 +05:30
committed by Tim Abbott
parent 0267ba54b2
commit 00d998b955
2 changed files with 5 additions and 5 deletions

View File

@@ -1152,7 +1152,10 @@ class NormalActionsTest(BaseAction):
for notifications_stream, notifications_stream_id in ((stream, stream.id), (None, -1)):
events = self.verify_action(
lambda: do_set_realm_notifications_stream(
self.user_profile.realm, notifications_stream, notifications_stream_id
self.user_profile.realm,
notifications_stream,
notifications_stream_id,
acting_user=None,
)
)
check_realm_update("events[0]", events[0], "notifications_stream_id")