diff --git a/zerver/tests/test_export.py b/zerver/tests/test_export.py index 0b3f746009..7c205a34ff 100644 --- a/zerver/tests/test_export.py +++ b/zerver/tests/test_export.py @@ -50,7 +50,7 @@ class QueryUtilTest(ZulipTestCase): self.example_email('hamlet'), self.example_email('iago')]: for _ in range(5): - self.send_message(email, self.example_email('othello'), Recipient.PERSONAL) + self.send_personal_message(email, self.example_email('othello')) @slow('creates lots of data') def test_query_chunker(self):