summary refs log tree commit diff
path: root/tests/federation
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-08-26 18:01:36 +0100
committerMark Haines <mark.haines@matrix.org>2014-08-26 18:01:36 +0100
commit64e2a5d58ef6ec38019f97318bf97f8b9bffddcb (patch)
tree4315ec68c34f996845db6f8f23ccc3d4c8504b78 /tests/federation
parentMerge branch 'develop' into storage_transactions (diff)
downloadsynapse-64e2a5d58ef6ec38019f97318bf97f8b9bffddcb.tar.xz
Move pdu and event persistence into a single persist_event function
Diffstat (limited to 'tests/federation')
-rw-r--r--tests/federation/test_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/federation/test_federation.py b/tests/federation/test_federation.py
index 58590e4fcd..938b57bec9 100644
--- a/tests/federation/test_federation.py
+++ b/tests/federation/test_federation.py
@@ -58,7 +58,7 @@ class FederationTestCase(unittest.TestCase):
         self.mock_persistence = Mock(spec=[
             "get_current_state_for_context",
             "get_pdu",
-            "persist_pdu",
+            "persist_event",
             "update_min_depth_for_context",
             "prep_send_transaction",
             "delivered_txn",