mirror of https://github.com/zulip/zulip.git
tests: Remove remove-subscriptions from curl test exclude_list.
This commit is contained in:
parent
3efe35e35b
commit
4e15dabcfa
|
@ -97,6 +97,16 @@ def update_subscription_data() -> Dict[str, List[Dict[str, Any]]]:
|
|||
]
|
||||
}
|
||||
|
||||
@openapi_param_value_generator(["/users/me/subscriptions:delete"])
|
||||
def delete_subscription_data() -> Dict[str, List[Dict[None, None]]]:
|
||||
iago = helpers.example_user("iago")
|
||||
zoe = helpers.example_user("ZOE")
|
||||
helpers.subscribe(iago, "Verona")
|
||||
helpers.subscribe(iago, "social")
|
||||
helpers.subscribe(zoe, "Verona")
|
||||
helpers.subscribe(zoe, "social")
|
||||
return {}
|
||||
|
||||
@openapi_param_value_generator(["/events:get"])
|
||||
def get_events() -> Dict[str, Any]:
|
||||
profile = helpers.example_user("iago")
|
||||
|
|
|
@ -14,7 +14,6 @@ exclude_list = [
|
|||
# The endpoint in these docs expect one or more param values that reflects the DB state.
|
||||
# We currently get the example values from openapi specs and they don't refelect the
|
||||
# state of the DB. This results in the curl request to fail.
|
||||
'remove-subscriptions.md',
|
||||
'delete-stream.md',
|
||||
'create-user-group.md',
|
||||
'update-user-group.md',
|
||||
|
|
Loading…
Reference in New Issue