summary refs log tree commit diff
path: root/tests/rest/client/v1/test_profile.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-24 18:56:51 +0000
committerDavid Baker <dave@matrix.org>2015-03-24 18:56:51 +0000
commitce2766d19c985d0100cc143477100c2723be1844 (patch)
tree85aac857c951993f50f5b739baf756ec62af7da4 /tests/rest/client/v1/test_profile.py
parentDon't test exact equality of the list: as long as it has the fields we expect... (diff)
downloadsynapse-ce2766d19c985d0100cc143477100c2723be1844.tar.xz
Fix tests
Diffstat (limited to 'tests/rest/client/v1/test_profile.py')
-rw-r--r--tests/rest/client/v1/test_profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_profile.py b/tests/rest/client/v1/test_profile.py
index 5cd5767f2e..929e5e5dd4 100644
--- a/tests/rest/client/v1/test_profile.py
+++ b/tests/rest/client/v1/test_profile.py
@@ -55,7 +55,7 @@ class ProfileTestCase(unittest.TestCase):
         def _get_user_by_req(request=None):
             return (UserID.from_string(myid), "")
 
-        hs.get_auth().get_user_by_req = _get_user_by_req
+        hs.get_v1auth().get_user_by_req = _get_user_by_req
 
         hs.get_handlers().profile_handler = self.mock_handler