mirror of https://github.com/zulip/zulip.git
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:
parent
f54605e290
commit
1d52d08803
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue