refactor: Make acting_user a mandatory kwarg for do_create_user.

This commit is contained in:
shanukun
2021-02-06 18:57:06 +05:30
committed by Tim Abbott
parent 673af19a4d
commit 4b67946605
18 changed files with 57 additions and 35 deletions

View File

@@ -808,6 +808,7 @@ class QueryCountTest(ZulipTestCase):
realm=realm,
full_name="Fred Flintstone",
prereg_user=prereg_user,
acting_user=None,
)
self.assert_length(queries, 68)
@@ -1658,6 +1659,7 @@ class RecipientInfoTest(ZulipTestCase):
realm=realm,
full_name="",
bot_type=UserProfile.EMBEDDED_BOT,
acting_user=None,
)
info = get_recipient_info(
@@ -1680,6 +1682,7 @@ class RecipientInfoTest(ZulipTestCase):
realm=realm,
full_name="",
bot_type=UserProfile.DEFAULT_BOT,
acting_user=None,
)
info = get_recipient_info(