summary refs log tree commit diff
path: root/tests/rest/client/test_typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_typing.py')
-rw-r--r--tests/rest/client/test_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_typing.py b/tests/rest/client/test_typing.py
index ee0abd5295..de312cb63c 100644
--- a/tests/rest/client/test_typing.py
+++ b/tests/rest/client/test_typing.py
@@ -57,7 +57,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
         async def _insert_client_ip(*args, **kwargs):
             return None
 
-        hs.get_datastore().insert_client_ip = _insert_client_ip
+        hs.get_datastores().main.insert_client_ip = _insert_client_ip
 
         return hs