Use labelled duration_ms in test helper

This commit is contained in:
Olivier 'reivilibre
2025-12-19 15:06:29 +00:00
parent 11472bb9d1
commit 99cfd755d3
2 changed files with 2 additions and 1 deletions

View File

@@ -473,7 +473,7 @@ class FederationCatchUpTestCases(FederatingHomeserverTestCase):
# now we send a sticky event that we expect to be bundled with the fwd extrem event
sticky_event_id = self.helper.send_sticky_event(
room_1, "m.room.sticky", 60000, tok=u1_token
room_1, "m.room.sticky", duration_ms=60_000, tok=u1_token
)["event_id"]
# ..and other uninteresting events
self.helper.send(room_1, "you hear me!!", tok=u1_token)

View File

@@ -457,6 +457,7 @@ class RestHelper:
self,
room_id: str,
type: str,
*,
duration_ms: int,
content: dict | None = None,
txn_id: str | None = None,