summary refs log tree commit diff
path: root/tests/rest/client/v2_alpha
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:29:39 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:29:39 +0100
commita9d8bd95e722e24c7ddd6b14a3714c1b2f737d4d (patch)
tree693d21429ea9258891c117d8c02694f4dfc36d1e /tests/rest/client/v2_alpha
parentRe-wrap line (diff)
downloadsynapse-a9d8bd95e722e24c7ddd6b14a3714c1b2f737d4d.tar.xz
Stop looking up "admin", which we never read
Diffstat (limited to 'tests/rest/client/v2_alpha')
-rw-r--r--tests/rest/client/v2_alpha/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/__init__.py b/tests/rest/client/v2_alpha/__init__.py
index badb59f080..ef972a53aa 100644
--- a/tests/rest/client/v2_alpha/__init__.py
+++ b/tests/rest/client/v2_alpha/__init__.py
@@ -46,7 +46,6 @@ class V2AlphaRestTestCase(unittest.TestCase):
         def _get_user_by_access_token(token=None):
             return {
                 "user": UserID.from_string(self.USER_ID),
-                "admin": False,
                 "token_id": 1,
             }
         hs.get_auth().get_user_by_access_token = _get_user_by_access_token