summary refs log tree commit diff
path: root/tests/storage/test_registration.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-23 11:31:22 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-23 11:31:22 +0000
commit35d1ec2c8fcf33d63237576ada391c26af1ec5fc (patch)
tree3b6f3cf9819c6f96e4488062632082ee1eb20887 /tests/storage/test_registration.py
parent1.8.0 (diff)
parentAllow admin users to create or modify users without a shared secret (#6495) (diff)
downloadsynapse-35d1ec2c8fcf33d63237576ada391c26af1ec5fc.tar.xz
Allow admin users to create or modify users without a shared secret (#6495)
* commit 'd2906fe66':
  Allow admin users to create or modify users without a shared secret (#6495)
  Fixup changelog
Diffstat (limited to 'tests/storage/test_registration.py')
-rw-r--r--tests/storage/test_registration.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/storage/test_registration.py b/tests/storage/test_registration.py

index ed5786865a..71a40a0a49 100644 --- a/tests/storage/test_registration.py +++ b/tests/storage/test_registration.py
@@ -43,12 +43,14 @@ class RegistrationStoreTestCase(unittest.TestCase): # TODO(paul): Surely this field should be 'user_id', not 'name' "name": self.user_id, "password_hash": self.pwhash, + "admin": 0, "is_guest": 0, "consent_version": None, "consent_server_notice_sent": None, "appservice_id": None, "creation_ts": 1000, "user_type": None, + "deactivated": 0, }, (yield self.store.get_user_by_id(self.user_id)), )