summary refs log tree commit diff
path: root/tests/rest/client/test_capabilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_capabilities.py')
-rw-r--r--tests/rest/client/test_capabilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_capabilities.py b/tests/rest/client/test_capabilities.py
index 422361b62a..b9e3602552 100644
--- a/tests/rest/client/test_capabilities.py
+++ b/tests/rest/client/test_capabilities.py
@@ -55,7 +55,7 @@ class CapabilitiesTestCase(unittest.HomeserverTestCase):
             self.assertTrue(room_version in KNOWN_ROOM_VERSIONS, "" + room_version)
 
         self.assertEqual(
-            self.config.default_room_version.identifier,
+            self.config.server.default_room_version.identifier,
             capabilities["m.room_versions"]["default"],
         )