mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Add test_enter_sends_setting.
This commit is contained in:
parent
8a55098ca7
commit
0a98d9edcf
@ -1025,6 +1025,11 @@ class ChangeSettingsTest(AuthedTestCase):
|
||||
|
||||
self.check_for_toggle_param("/json/time_setting", "twenty_four_hour_time")
|
||||
|
||||
def test_enter_sends_setting(self):
|
||||
self.login("hamlet@zulip.com")
|
||||
|
||||
self.check_for_toggle_param('/json/users/me/enter-sends', "enter_sends")
|
||||
|
||||
def test_missing_params(self):
|
||||
"""
|
||||
full_name is a required POST parameter for json_change_settings.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user