Add test_enter_sends_setting.

This commit is contained in:
Ashish Kumar 2016-06-15 23:33:28 +05:30 committed by Tim Abbott
parent 8a55098ca7
commit 0a98d9edcf

View File

@ -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.