diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-29 11:19:50 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 11:19:50 +0000 |
commit | aee39f7de8c79acb780c9903dd17f7d0b6a2b760 (patch) | |
tree | e1a35e4207e45209bccc4abd4cfc3f54911bb84d /tests | |
parent | Replace usage of builder.user_id with builder.sender (diff) | |
download | synapse-aee39f7de8c79acb780c9903dd17f7d0b6a2b760.tar.xz |
Fix test to use valid event format
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_visibility.py | 2 |
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, { |