summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-02-02 09:59:55 +0000
committerGitHub <noreply@github.com>2022-02-02 09:59:55 +0000
commit513913cc6ba77833082178b7d2b2f0565daf3c99 (patch)
tree91793eeab833e6ebb96bd55fba9e271db24a4266 /tests/rest
parentConvert `ApplicationServiceTestCase` to use `simple_async_mock` (#11880) (diff)
downloadsynapse-513913cc6ba77833082178b7d2b2f0565daf3c99.tar.xz
Expose the registered device ID from the `register_appservice_user` test helper. (#11615)
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/test_room_batch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_room_batch.py b/tests/rest/client/test_room_batch.py
index 721454c187..e9f8704035 100644
--- a/tests/rest/client/test_room_batch.py
+++ b/tests/rest/client/test_room_batch.py
@@ -89,7 +89,7 @@ class RoomBatchTestCase(unittest.HomeserverTestCase):
         self.clock = clock
         self.storage = hs.get_storage()
 
-        self.virtual_user_id = self.register_appservice_user(
+        self.virtual_user_id, _ = self.register_appservice_user(
             "as_user_potato", self.appservice.token
         )