diff --git a/zerver/tests/test_message_edit_notifications.py b/zerver/tests/test_message_edit_notifications.py index e4b605b88d..a2390e2e4a 100644 --- a/zerver/tests/test_message_edit_notifications.py +++ b/zerver/tests/test_message_edit_notifications.py @@ -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, )