summary refs log tree commit diff
path: root/tests/test_federation.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-11-02 13:44:12 +0000
committerErik Johnston <erik@matrix.org>2018-11-02 13:44:14 +0000
commitb86d05a279051b59d711c5a1982474994f302803 (patch)
tree9a3f3fe0da409a0181942a418e94efc2760bc397 /tests/test_federation.py
parentMerge pull request #4128 from matrix-org/erikj/state_res_v2_version (diff)
downloadsynapse-b86d05a279051b59d711c5a1982474994f302803.tar.xz
Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different
event formats for different room versions
Diffstat (limited to 'tests/test_federation.py')
-rw-r--r--tests/test_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_federation.py b/tests/test_federation.py
index 952a0a7b51..e1a34ccffd 100644
--- a/tests/test_federation.py
+++ b/tests/test_federation.py
@@ -112,7 +112,7 @@ class MessageAcceptTests(unittest.TestCase):
                 "origin_server_ts": 1,
                 "type": "m.room.message",
                 "origin": "test.serv",
-                "content": "hewwo?",
+                "content": {"body": "hewwo?"},
                 "auth_events": [],
                 "prev_events": [("two:test.serv", {}), (most_recent, {})],
             }