Fix test to use valid event format

This commit is contained in:
Erik Johnston committed 2019-01-29 11:19:50 +00:00
1 parent 5180f12bae
commit aee39f7de8
1 file changed
+1 -1
+1 -1
View File
@@ -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,
{