diff options
author | Erik Johnston <erik@matrix.org> | 2020-10-29 18:21:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 18:21:49 +0000 |
commit | ef2d62701573098c1e4aa25196043cc6fea7675c (patch) | |
tree | 8e6ccb0ef046b238106735daebceea93b8f19ace | |
parent | Tie together matches_user_in_member_list and get_users_in_room caches (#8676) (diff) | |
download | synapse-ef2d62701573098c1e4aa25196043cc6fea7675c.tar.xz |
Fix unit tests (#8689)
* Fix unit tests * Newsfile
-rw-r--r-- | changelog.d/8689.feature | 1 | ||||
-rw-r--r-- | tests/rest/admin/test_user.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/8689.feature b/changelog.d/8689.feature new file mode 100644 index 0000000000..ed8d926964 --- /dev/null +++ b/changelog.d/8689.feature @@ -0,0 +1 @@ +Add an admin APIs to allow server admins to list users' pushers. Contributed by @dklimpel. \ No newline at end of file diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py index 0b728e7ffc..7df32e5093 100644 --- a/tests/rest/admin/test_user.py +++ b/tests/rest/admin/test_user.py @@ -1206,7 +1206,7 @@ class PushersRestTestCase(unittest.HomeserverTestCase): user_tuple = self.get_success( self.store.get_user_by_access_token(other_user_token) ) - token_id = user_tuple["token_id"] + token_id = user_tuple.token_id self.get_success( self.hs.get_pusherpool().add_pusher( |