summary refs log tree commit diff
path: root/tests/federation/test_federation.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/federation/test_federation.py')
-rw-r--r--tests/federation/test_federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/federation/test_federation.py b/tests/federation/test_federation.py
index 01f07ff36d..91edeaa4b9 100644
--- a/tests/federation/test_federation.py
+++ b/tests/federation/test_federation.py
@@ -186,7 +186,7 @@ class FederationTestCase(unittest.TestCase):
                         },
                     ]
                 },
-                on_send_callback=ANY,
+                json_data_callback=ANY,
         )
 
     @defer.inlineCallbacks
@@ -218,7 +218,7 @@ class FederationTestCase(unittest.TestCase):
                         }
                     ],
                 },
-                on_send_callback=ANY,
+                json_data_callback=ANY,
         )
 
     @defer.inlineCallbacks