summary refs log tree commit diff
path: root/tests/storage/test_registration.py
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/storage/test_registration.py
parentRe-wrap line (diff)
downloadsynapse-a9d8bd95e722e24c7ddd6b14a3714c1b2f737d4d.tar.xz
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
         )