diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py index 6adfd6446a..a275c8c6d4 100644 --- a/zerver/tests/test_events.py +++ b/zerver/tests/test_events.py @@ -550,6 +550,9 @@ class NormalActionsTest(BaseAction): check_message("events[0]", events[0]) assert events[0]["message"]["avatar_url"] is None + def test_stream_update_message_events(self) -> None: + self.send_stream_message(self.example_user("hamlet"), "Verona", "hello") + # Verify stream message editing - content only message = Message.objects.order_by("-id")[0] content = "new content"