summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-11-27 16:14:44 -0500
committerGitHub <noreply@github.com>2019-11-27 16:14:44 -0500
commit0d27aba900136514a8801b902f9a8ac69150e2c0 (patch)
tree3ac15cbb5b33f0c18618967afa7c1bfeb70245bc /tests/storage
parentAdd more tests to the worker blacklist (#6429) (diff)
downloadsynapse-0d27aba900136514a8801b902f9a8ac69150e2c0.tar.xz
add etag and count to key backup endpoints (#5858)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_e2e_room_keys.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/storage/test_e2e_room_keys.py b/tests/storage/test_e2e_room_keys.py
index d128fde441..35dafbb904 100644
--- a/tests/storage/test_e2e_room_keys.py
+++ b/tests/storage/test_e2e_room_keys.py
@@ -39,8 +39,8 @@ class E2eRoomKeysHandlerTestCase(unittest.HomeserverTestCase):
         )
 
         self.get_success(
-            self.store.set_e2e_room_key(
-                "user_id", version1, "room", "session", room_key
+            self.store.add_e2e_room_keys(
+                "user_id", version1, [("room", "session", room_key)]
             )
         )
 
@@ -51,8 +51,8 @@ class E2eRoomKeysHandlerTestCase(unittest.HomeserverTestCase):
         )
 
         self.get_success(
-            self.store.set_e2e_room_key(
-                "user_id", version2, "room", "session", room_key
+            self.store.add_e2e_room_keys(
+                "user_id", version2, [("room", "session", room_key)]
             )
         )