test_home: Fix wrong bot references in test_people.

These are all referring to email_gateway_bot, when they're supposed to
refer to the notification and welcome bots, respectively. The values are
the same though, so the tests were passing anyway.
This commit is contained in:
Mateusz Mandera
2021-02-28 15:44:01 +01:00
committed by Tim Abbott
parent 2a2373307f
commit 6f9f608225

View File

@@ -615,7 +615,7 @@ class HomeTest(ZulipTestCase):
is_guest=False,
),
dict(
avatar_version=email_gateway_bot.avatar_version,
avatar_version=notification_bot.avatar_version,
bot_owner_id=None,
bot_type=1,
email=notification_bot.email,
@@ -629,7 +629,7 @@ class HomeTest(ZulipTestCase):
is_guest=False,
),
dict(
avatar_version=email_gateway_bot.avatar_version,
avatar_version=welcome_bot.avatar_version,
bot_owner_id=None,
bot_type=1,
email=welcome_bot.email,