tests: Fix send_message in test_message_edit_notifications.py.

This commit is contained in:
Steve Howell 2017-10-28 08:11:25 -07:00 committed by Tim Abbott
parent cf1a4540ef
commit 5c00bbc1a9
1 changed files with 2 additions and 4 deletions

View File

@ -48,10 +48,9 @@ class EditMessageSideEffectsTest(ZulipTestCase):
self.login(hamlet.email)
message_id = self.send_message(
message_id = self.send_personal_message(
hamlet.email,
cordelia.email,
Recipient.PERSONAL,
content='no mention'
)
@ -76,10 +75,9 @@ class EditMessageSideEffectsTest(ZulipTestCase):
self.subscribe(hamlet, 'Scotland')
self.subscribe(cordelia, 'Scotland')
message_id = self.send_message(
message_id = self.send_stream_message(
hamlet.email,
'Scotland',
Recipient.STREAM,
content=content,
)