summary refs log tree commit diff
path: root/tests/federation/transport/test_knocking.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/federation/transport/test_knocking.py')
-rw-r--r--tests/federation/transport/test_knocking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/federation/transport/test_knocking.py b/tests/federation/transport/test_knocking.py
index 3f42f79f26..b63ef3d4ed 100644
--- a/tests/federation/transport/test_knocking.py
+++ b/tests/federation/transport/test_knocking.py
@@ -308,7 +308,7 @@ class FederationKnockingTestCase(
         self.assertEqual(200, channel.code, channel.result)
 
         # Check that we got the stripped room state in return
-        room_state_events = channel.json_body["knock_state_events"]
+        room_state_events = channel.json_body["knock_room_state"]
 
         # Validate the stripped room state events
         self.check_knock_room_state_against_room_state(