diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-26 16:36:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-26 16:36:24 +0100 |
commit | 0fdf3088743b25e9fcc39b7b3b4c7f6e8332e26c (patch) | |
tree | a5433fb7afa8fb62c65f5a4395c7ed7b1f0a9af4 /tests/rest/test_profile.py | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-0fdf3088743b25e9fcc39b7b3b4c7f6e8332e26c.tar.xz |
Track the IP users connect with. Add an admin column to users table.
Diffstat (limited to 'tests/rest/test_profile.py')
-rw-r--r-- | tests/rest/test_profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/test_profile.py b/tests/rest/test_profile.py index e6e51f6dd0..b0f48e7fd8 100644 --- a/tests/rest/test_profile.py +++ b/tests/rest/test_profile.py @@ -50,10 +50,10 @@ class ProfileTestCase(unittest.TestCase): datastore=None, ) - def _get_user_by_token(token=None): + def _get_user_by_req(request=None): return hs.parse_userid(myid) - hs.get_auth().get_user_by_token = _get_user_by_token + hs.get_auth().get_user_by_req = _get_user_by_req hs.get_handlers().profile_handler = self.mock_handler |