Add the shadow-banning status to the display user admin API. (#9400)

This commit is contained in:
Dirk Klimpel 2021-02-17 21:19:23 +01:00 committed by GitHub
parent a25661b2eb
commit c8d9383cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 6 deletions

View file

@ -52,6 +52,7 @@ class RegistrationStoreTestCase(unittest.TestCase):
"creation_ts": 1000,
"user_type": None,
"deactivated": 0,
"shadow_banned": 0,
},
(yield defer.ensureDeferred(self.store.get_user_by_id(self.user_id))),
)