Fix unit tests (#8689)

* Fix unit tests

* Newsfile
This commit is contained in:
Erik Johnston authored and GitHub committed 2020-10-29 18:21:49 +00:00
1 parent 70269fbd18
commit ef2d627015
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Add an admin APIs to allow server admins to list users' pushers. Contributed by @dklimpel.
+1 -1
View File
@@ -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(