mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
api_examples: Fix failing invitation links test.
This system is too fragile with hardcoded IDs; we should be asserting that the preparatory requests succeeded to make these easier to debug.
This commit is contained in:
@@ -368,7 +368,7 @@ def revoke_reusable_invitation_link(client: Client) -> None:
|
||||
request = {
|
||||
"invite_expires_in_minutes": 14400, # 10 days
|
||||
"invite_as": 400,
|
||||
"stream_ids": [1, 8, 9],
|
||||
"stream_ids": [1],
|
||||
}
|
||||
result = client.call_endpoint(url="/invites/multiuse", method="POST", request=request)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user