Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8cdc1b1

Browse files
committed
Fix test
This was passing the wrong format of object to `add_messages_to_device_inbox`.
1 parent d7ae20e commit 8cdc1b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/handlers/test_appservice.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,12 @@ def test_application_services_receive_bursts_of_to_device(self):
765765
fake_device_ids = [f"device_{num}" for num in range(number_of_messages - 1)]
766766
messages = {
767767
self.exclusive_as_user: {
768-
device_id: to_device_message_content for device_id in fake_device_ids
768+
device_id: {
769+
"type": "test_to_device_message",
770+
"sender": "@some:sender",
771+
"content": to_device_message_content,
772+
}
773+
for device_id in fake_device_ids
769774
}
770775
}
771776

0 commit comments

Comments
 (0)