Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Remove the usage of stray desktop_icon_count_display values.

Prakhar Pratyushcf804200c792
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py
index aba2ff70c7b..6adfd6446a2 100644
--- a/zerver/tests/test_events.py
+++ b/zerver/tests/test_events.py
@@ -3093,7 +3093,7 @@ class RealmPropertyActionTest(BaseAction):
web_mark_read_on_scroll_policy=UserProfile.WEB_MARK_READ_ON_SCROLL_POLICY_CHOICES,
user_list_style=UserProfile.USER_LIST_STYLE_CHOICES,
web_stream_unreads_count_display_policy=UserProfile.WEB_STREAM_UNREADS_COUNT_DISPLAY_POLICY_CHOICES,
- desktop_icon_count_display=[1, 2, 3],
+ desktop_icon_count_display=UserProfile.DESKTOP_ICON_COUNT_DISPLAY_CHOICES,
notification_sound=["zulip", "ding"],
email_notifications_batching_period_seconds=[120, 300],
email_address_visibility=UserProfile.EMAIL_ADDRESS_VISIBILITY_TYPES,
diff --git a/zerver/tests/test_realm.py b/zerver/tests/test_realm.py
index 93aed4df052..1b9fc896941 100644
--- a/zerver/tests/test_realm.py
+++ b/zerver/tests/test_realm.py
@@ -1305,7 +1305,7 @@ class RealmAPITest(ZulipTestCase):
web_mark_read_on_scroll_policy=UserProfile.WEB_MARK_READ_ON_SCROLL_POLICY_CHOICES,
user_list_style=UserProfile.USER_LIST_STYLE_CHOICES,
web_stream_unreads_count_display_policy=UserProfile.WEB_STREAM_UNREADS_COUNT_DISPLAY_POLICY_CHOICES,
- desktop_icon_count_display=[1, 2, 3],
+ desktop_icon_count_display=UserProfile.DESKTOP_ICON_COUNT_DISPLAY_CHOICES,
notification_sound=["zulip", "ding"],
email_notifications_batching_period_seconds=[120, 300],
email_address_visibility=UserProfile.EMAIL_ADDRESS_VISIBILITY_TYPES,