Use labelled duration_ms in test helper
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -457,6 +457,7 @@ class RestHelper:
|
||||
self,
|
||||
room_id: str,
|
||||
type: str,
|
||||
*,
|
||||
duration_ms: int,
|
||||
content: dict | None = None,
|
||||
txn_id: str | None = None,
|
||||
|
||||
Reference in New Issue
Block a user