Fix unit tests (#8689)

* Fix unit tests

* Newsfile
This commit is contained in:
Erik Johnston
2020-10-29 18:21:49 +00:00
committed by GitHub
parent 70269fbd18
commit ef2d627015
2 changed files with 2 additions and 1 deletions
+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(