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.

test_handle_push_notification: Drop the ZULIP_SERVICES override.

Prakhar Pratyush4189675c945a
diff --git a/zerver/tests/test_handle_push_notification.py b/zerver/tests/test_handle_push_notification.py
index c2202e0ca58..673627981b8 100644
--- a/zerver/tests/test_handle_push_notification.py
+++ b/zerver/tests/test_handle_push_notification.py
@@ -357,7 +357,7 @@ class HandlePushNotificationTest(PushNotificationTestCase):
handle_push_notification(self.user_profile.id, missed_message)
@mock.patch("zerver.lib.push_notifications.push_notifications_configured", return_value=True)
- @override_settings(ZULIP_SERVICE_PUSH_NOTIFICATIONS=False, ZULIP_SERVICES=set())
+ @override_settings(ZULIP_SERVICE_PUSH_NOTIFICATIONS=False)
def test_read_message(self, mock_push_notifications: mock.MagicMock) -> None:
self.setup_apns_tokens()
self.setup_fcm_tokens()