summary refs log tree commit diff
path: root/tests/handlers/test_admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/handlers/test_admin.py')
-rw-r--r--tests/handlers/test_admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_admin.py b/tests/handlers/test_admin.py
index fc37c4328c..5c2b4de1a6 100644
--- a/tests/handlers/test_admin.py
+++ b/tests/handlers/test_admin.py
@@ -35,7 +35,7 @@ class ExfiltrateData(unittest.HomeserverTestCase):
     ]
 
     def prepare(self, reactor, clock, hs):
-        self.admin_handler = hs.get_handlers().admin_handler
+        self.admin_handler = hs.get_admin_handler()
 
         self.user1 = self.register_user("user1", "password")
         self.token1 = self.login("user1", "password")