replace user_id with sender

This commit is contained in:
Mark Haines 2014-11-19 16:38:40 +00:00
parent 97c7c34f6f
commit c5eabe3143
4 changed files with 11 additions and 2 deletions

View file

@ -81,8 +81,9 @@ class FederationTestCase(unittest.TestCase):
content={"msgtype": u"fooo"},
origin_server_ts=0,
event_id="$a:b",
user_id="@a:b",
origin="b",
hashes={"sha256":"PvbCLWrTBxnBsSO7/cJ76072ySTCgI/XGadESRAe02M"},
hashes={"sha256":"AcLrgtUIqqwaGoHhrEvYG1YLDIsVPYJdSRGhkp3jJp8"},
)
self.datastore.persist_event.return_value = defer.succeed(None)