summary refs log tree commit diff
path: root/tests/federation
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-19 16:38:40 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-19 16:38:40 +0000
commitc5eabe3143bc3398961ed80da041f28e545386bf (patch)
treedf8ab480f1df3ddb2e05cefb741f10ed990d37fc /tests/federation
parentPreserve logging context in a few more places, drop the logging context after... (diff)
downloadsynapse-c5eabe3143bc3398961ed80da041f28e545386bf.tar.xz
replace user_id with sender
Diffstat (limited to 'tests/federation')
-rw-r--r--tests/federation/test_federation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/federation/test_federation.py b/tests/federation/test_federation.py
index efac4075dc..73dd289276 100644
--- a/tests/federation/test_federation.py
+++ b/tests/federation/test_federation.py
@@ -100,6 +100,7 @@ class FederationTestCase(unittest.TestCase):
                 make_pdu(
                     event_id="the-pdu-id",
                     origin="red",
+                    user_id="@a:red",
                     room_id="my-context",
                     type="m.topic",
                     origin_server_ts=123456789000,
@@ -145,6 +146,7 @@ class FederationTestCase(unittest.TestCase):
                 make_pdu(
                     event_id="abc123def456",
                     origin="red",
+                    user_id="@a:red",
                     room_id="my-context",
                     type="m.text",
                     origin_server_ts=123456789001,
@@ -172,6 +174,7 @@ class FederationTestCase(unittest.TestCase):
         pdu = SynapseEvent(
             event_id="abc123def456",
             origin="red",
+            user_id="@a:red",
             room_id="my-context",
             type="m.text",
             origin_server_ts=123456789001,