summary refs log tree commit diff
path: root/tests/test_federation.py
diff options
context:
space:
mode:
authorAlok Kumar Singh <62210712+akstron@users.noreply.github.com>2023-04-21 16:36:39 +0530
committerGitHub <noreply@github.com>2023-04-21 12:06:39 +0100
commit197fbb123bc1a08a3d64e3acd658d3765f86d2fc (patch)
tree90918da0a9e6ea4223d94f94eefa666b8612c141 /tests/test_federation.py
parentModify StoreKeyFetcher to read from server_keys_json. (#15417) (diff)
downloadsynapse-197fbb123bc1a08a3d64e3acd658d3765f86d2fc.tar.xz
Remove legacy code of single user device resync api (#15418)
* Removed single-user resync usage and updated it to use multi-user counterpart

Signed-off-by: Alok Kumar Singh alokaks601@gmail.com
Diffstat (limited to 'tests/test_federation.py')
-rw-r--r--tests/test_federation.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_federation.py b/tests/test_federation.py
index 46d2f99eac..6d15ac7597 100644
--- a/tests/test_federation.py
+++ b/tests/test_federation.py
@@ -267,7 +267,9 @@ class MessageAcceptTests(unittest.HomeserverTestCase):
         # Resync the device list.
         device_handler = self.hs.get_device_handler()
         self.get_success(
-            device_handler.device_list_updater.user_device_resync(remote_user_id),
+            device_handler.device_list_updater.multi_user_device_resync(
+                [remote_user_id]
+            ),
         )
 
         # Retrieve the cross-signing keys for this user.