diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py index b513db5645..4851060c27 100644 --- a/zerver/tests/test_events.py +++ b/zerver/tests/test_events.py @@ -1860,8 +1860,8 @@ class RealmPropertyActionTest(BaseAction): message_retention_days=[10, 20], name=["Zulip", "New Name"], waiting_period_threshold=[10, 20], - create_stream_policy=[3, 2, 1], - invite_to_stream_policy=[3, 2, 1], + create_stream_policy=[4, 3, 2, 1], + invite_to_stream_policy=[4, 3, 2, 1], private_message_policy=[2, 1], user_group_edit_policy=[1, 2], wildcard_mention_policy=[6, 5, 4, 3, 2, 1], diff --git a/zerver/tests/test_realm.py b/zerver/tests/test_realm.py index 035474c9e2..8f6c89770d 100644 --- a/zerver/tests/test_realm.py +++ b/zerver/tests/test_realm.py @@ -851,6 +851,7 @@ class RealmAPITest(ZulipTestCase): Realm.POLICY_ADMINS_ONLY, Realm.POLICY_MEMBERS_ONLY, Realm.POLICY_FULL_MEMBERS_ONLY, + Realm.POLICY_MODERATORS_ONLY, ], user_group_edit_policy=[ Realm.USER_GROUP_EDIT_POLICY_ADMINS, @@ -864,6 +865,7 @@ class RealmAPITest(ZulipTestCase): Realm.POLICY_ADMINS_ONLY, Realm.POLICY_MEMBERS_ONLY, Realm.POLICY_FULL_MEMBERS_ONLY, + Realm.POLICY_MODERATORS_ONLY, ], wildcard_mention_policy=[ Realm.WILDCARD_MENTION_POLICY_EVERYONE,