mirror of https://github.com/zulip/zulip.git
tests: Add tests for all the values of wildcard_mention_policy.
This commit is contained in:
parent
ec8fcf3a04
commit
25f32d461e
|
@ -1730,7 +1730,7 @@ class RealmPropertyActionTest(BaseAction):
|
||||||
invite_to_stream_policy=[3, 2, 1],
|
invite_to_stream_policy=[3, 2, 1],
|
||||||
private_message_policy=[2, 1],
|
private_message_policy=[2, 1],
|
||||||
user_group_edit_policy=[1, 2],
|
user_group_edit_policy=[1, 2],
|
||||||
wildcard_mention_policy=[3, 2, 1],
|
wildcard_mention_policy=[6, 5, 4, 3, 2, 1],
|
||||||
email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS],
|
email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS],
|
||||||
bot_creation_policy=[Realm.BOT_CREATION_EVERYONE],
|
bot_creation_policy=[Realm.BOT_CREATION_EVERYONE],
|
||||||
video_chat_provider=[
|
video_chat_provider=[
|
||||||
|
|
|
@ -733,8 +733,11 @@ class RealmAPITest(ZulipTestCase):
|
||||||
Realm.POLICY_MEMBERS_ONLY,
|
Realm.POLICY_MEMBERS_ONLY,
|
||||||
Realm.POLICY_FULL_MEMBERS_ONLY],
|
Realm.POLICY_FULL_MEMBERS_ONLY],
|
||||||
wildcard_mention_policy=[Realm.WILDCARD_MENTION_POLICY_EVERYONE,
|
wildcard_mention_policy=[Realm.WILDCARD_MENTION_POLICY_EVERYONE,
|
||||||
|
Realm.WILDCARD_MENTION_POLICY_MEMBERS,
|
||||||
Realm.WILDCARD_MENTION_POLICY_FULL_MEMBERS,
|
Realm.WILDCARD_MENTION_POLICY_FULL_MEMBERS,
|
||||||
Realm.WILDCARD_MENTION_POLICY_ADMINS],
|
Realm.WILDCARD_MENTION_POLICY_STREAM_ADMINS,
|
||||||
|
Realm.WILDCARD_MENTION_POLICY_ADMINS,
|
||||||
|
Realm.WILDCARD_MENTION_POLICY_NOBODY],
|
||||||
bot_creation_policy=[1, 2],
|
bot_creation_policy=[1, 2],
|
||||||
email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_EVERYONE,
|
email_address_visibility=[Realm.EMAIL_ADDRESS_VISIBILITY_EVERYONE,
|
||||||
Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS,
|
Realm.EMAIL_ADDRESS_VISIBILITY_ADMINS,
|
||||||
|
|
Loading…
Reference in New Issue