mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
tests: Fix incorrect use of get_realm_by_email_domain.
This commit is contained in:
@@ -118,14 +118,14 @@ class PersonalMessageTriggersTest(ZulipTestCase):
|
||||
user_profile = self.example_user("othello")
|
||||
self.bot_user = do_create_user(email="testvabs-bot@zulip.com",
|
||||
password="test",
|
||||
realm=get_realm_by_email_domain("zulip.com"),
|
||||
realm=get_realm("zulip"),
|
||||
full_name="The Test Bot",
|
||||
short_name="bot",
|
||||
bot_type=UserProfile.OUTGOING_WEBHOOK_BOT,
|
||||
bot_owner=user_profile)
|
||||
self.temp_bot = do_create_user(email="temp-bot@zulip.com",
|
||||
password="temp",
|
||||
realm=get_realm_by_email_domain("zulip.com"),
|
||||
realm=get_realm("zulip"),
|
||||
full_name="The Temp test Bot",
|
||||
short_name="tempbot",
|
||||
bot_type=UserProfile.OUTGOING_WEBHOOK_BOT,
|
||||
|
||||
Reference in New Issue
Block a user