mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
tests: Remove /settings/notifications from buggy endpoints.
This commit is contained in:
@@ -2180,6 +2180,12 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: true
|
example: true
|
||||||
|
- name: notification_sound
|
||||||
|
in: query
|
||||||
|
description: Notification sound name.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: ding
|
||||||
- name: enable_desktop_notifications
|
- name: enable_desktop_notifications
|
||||||
in: query
|
in: query
|
||||||
description: Enable visual desktop notifications for private messages
|
description: Enable visual desktop notifications for private messages
|
||||||
@@ -2221,6 +2227,12 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: true
|
example: true
|
||||||
|
- name: enable_login_emails
|
||||||
|
in: query
|
||||||
|
description: Enable email notifications for new logins to account.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
example: true
|
||||||
- name: message_content_in_email_notifications
|
- name: message_content_in_email_notifications
|
||||||
in: query
|
in: query
|
||||||
description: Include the message's content in missed messages email
|
description: Include the message's content in missed messages email
|
||||||
@@ -2228,6 +2240,33 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: true
|
example: true
|
||||||
|
- name: pm_content_in_desktop_notifications
|
||||||
|
in: query
|
||||||
|
description: Include content of private messages in desktop notifications.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
example: true
|
||||||
|
- name: desktop_icon_count_display
|
||||||
|
in: query
|
||||||
|
description: >
|
||||||
|
Unread count summary (appears in desktop sidebar and browser tab)
|
||||||
|
|
||||||
|
* 1 - All unreads
|
||||||
|
* 2 - Private messages and mentions
|
||||||
|
* 3 - None
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
enum:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
|
example: 1
|
||||||
|
- name: realm_name_in_notifications
|
||||||
|
in: query
|
||||||
|
description: Include organization name in subject of missed message emails.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
example: true
|
||||||
security:
|
security:
|
||||||
- basicAuth: []
|
- basicAuth: []
|
||||||
responses:
|
responses:
|
||||||
|
|||||||
@@ -237,8 +237,6 @@ class OpenAPIArgumentsTest(ZulipTestCase):
|
|||||||
buggy_documentation_endpoints = set([
|
buggy_documentation_endpoints = set([
|
||||||
'/events',
|
'/events',
|
||||||
'/users/me/subscriptions/muted_topics',
|
'/users/me/subscriptions/muted_topics',
|
||||||
# List of flags is broader in actual code; fix is to just add them
|
|
||||||
'/settings/notifications',
|
|
||||||
# Docs need update for subject -> topic migration
|
# Docs need update for subject -> topic migration
|
||||||
'/messages/{message_id}',
|
'/messages/{message_id}',
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user