mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +00:00
settings: Move 'enter_sends' setting to property_types dict.
This commit moves "enter_sends" setting to property_types dict. With this change, changing enter_sends setting also sends an event of type "update_display_settings" and thus enables us to live-update the UI.
This commit is contained in:
@@ -198,9 +198,6 @@ class ChangeSettingsTest(ZulipTestCase):
|
||||
for display_setting in boolean_settings:
|
||||
self.check_for_toggle_param_patch("/json/settings", display_setting)
|
||||
|
||||
def test_enter_sends_setting(self) -> None:
|
||||
self.check_for_toggle_param_patch("/json/settings", "enter_sends")
|
||||
|
||||
def test_wrong_old_password(self) -> None:
|
||||
self.login("hamlet")
|
||||
result = self.client_patch(
|
||||
|
||||
Reference in New Issue
Block a user