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

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
This was passing the wrong format of object to `add_messages_to_device_inbox`.
  • Loading branch information
richvdh committed Dec 2, 2022
1 parent 8522c94 commit ecc9f09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/handlers/test_appservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,12 @@ def test_application_services_receive_bursts_of_to_device(self):
fake_device_ids = [f"device_{num}" for num in range(number_of_messages - 1)]
messages = {
self.exclusive_as_user: {
device_id: to_device_message_content for device_id in fake_device_ids
device_id: {
"type": "test_to_device_message",
"sender": "@some:sender",
"content": to_device_message_content,
}
for device_id in fake_device_ids
}
}

Expand Down

0 comments on commit ecc9f09

Please sign in to comment.