mirror of https://github.com/zulip/zulip.git
tests: Fix send_message calls in test_soft_deactivation.py.
This commit is contained in:
parent
6475b25a00
commit
fba754224c
|
@ -37,9 +37,8 @@ class UserSoftDeactivationTests(ZulipTestCase):
|
|||
|
||||
# We are sending this message to ensure that users have at least
|
||||
# one UserMessage row.
|
||||
self.send_message(users[0].email,
|
||||
[user.email for user in users],
|
||||
Recipient.HUDDLE)
|
||||
self.send_huddle_message(users[0].email,
|
||||
[user.email for user in users])
|
||||
do_soft_deactivate_users(users)
|
||||
|
||||
for user in users:
|
||||
|
@ -83,9 +82,8 @@ class UserSoftDeactivationTests(ZulipTestCase):
|
|||
self.example_user('iago'),
|
||||
self.example_user('cordelia'),
|
||||
]
|
||||
self.send_message(users[0].email,
|
||||
[user.email for user in users],
|
||||
Recipient.HUDDLE)
|
||||
self.send_huddle_message(users[0].email,
|
||||
[user.email for user in users])
|
||||
do_soft_deactivate_users(users)
|
||||
for user in users:
|
||||
self.assertTrue(user.long_term_idle)
|
||||
|
|
Loading…
Reference in New Issue