summary refs log tree commit diff
path: root/tests/storage/test_registration.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-08-25 17:23:05 +0100
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-08-25 17:23:05 +0100
commita2355fae7e72c00e2060eec1ca677548b40d96b6 (patch)
tree572b0ae4f2422374bd6b4efa1f7b70a9cc5aedb2 /tests/storage/test_registration.py
parentMerge pull request #248 from matrix-org/deviceid (diff)
parentMerge branch 'deviceid' into removeadmin (diff)
downloadsynapse-a2355fae7e72c00e2060eec1ca677548b40d96b6.tar.xz
Merge pull request #251 from matrix-org/removeadmin
Stop looking up "admin", which we never read
Diffstat (limited to 'tests/storage/test_registration.py')
-rw-r--r--tests/storage/test_registration.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/storage/test_registration.py b/tests/storage/test_registration.py
index 54fe10d58f..0cce6c37df 100644
--- a/tests/storage/test_registration.py
+++ b/tests/storage/test_registration.py
@@ -53,8 +53,7 @@ class RegistrationStoreTestCase(unittest.TestCase):
 
         self.assertDictContainsSubset(
             {
-                "admin": 0,
-                 "name": self.user_id,
+                "name": self.user_id,
             },
             result
         )
@@ -70,8 +69,7 @@ class RegistrationStoreTestCase(unittest.TestCase):
 
         self.assertDictContainsSubset(
             {
-                "admin": 0,
-                 "name": self.user_id,
+                "name": self.user_id,
             },
             result
         )