summary refs log tree commit diff
path: root/tests/test_visibility.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 11:19:50 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 11:19:50 +0000
commitaee39f7de8c79acb780c9903dd17f7d0b6a2b760 (patch)
treee1a35e4207e45209bccc4abd4cfc3f54911bb84d /tests/test_visibility.py
parentReplace usage of builder.user_id with builder.sender (diff)
downloadsynapse-aee39f7de8c79acb780c9903dd17f7d0b6a2b760.tar.xz
Fix test to use valid event format
Diffstat (limited to 'tests/test_visibility.py')
-rw-r--r--tests/test_visibility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_visibility.py b/tests/test_visibility.py
index 82d63ce00e..455db9f276 100644
--- a/tests/test_visibility.py
+++ b/tests/test_visibility.py
@@ -166,7 +166,7 @@ class FilterEventsForServerTestCase(tests.unittest.TestCase):
     @defer.inlineCallbacks
     def inject_message(self, user_id, content=None):
         if content is None:
-            content = {"body": "testytest"}
+            content = {"body": "testytest", "msgtype": "m.text"}
         builder = self.event_builder_factory.new(
             RoomVersions.V1,
             {