Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ef2d627

Browse files
authored
Fix unit tests (#8689)
* Fix unit tests * Newsfile
1 parent 70269fb commit ef2d627

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/8689.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add an admin APIs to allow server admins to list users' pushers. Contributed by @dklimpel.

tests/rest/admin/test_user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ def test_get_pushers(self):
12061206
user_tuple = self.get_success(
12071207
self.store.get_user_by_access_token(other_user_token)
12081208
)
1209-
token_id = user_tuple["token_id"]
1209+
token_id = user_tuple.token_id
12101210

12111211
self.get_success(
12121212
self.hs.get_pusherpool().add_pusher(

0 commit comments

Comments
 (0)