test_messages: Fix tests failing due to error message change.

This commit is contained in:
Tim Abbott 2017-05-23 15:27:16 -07:00
parent 973b18bf2f
commit a833fa39b8
1 changed files with 3 additions and 3 deletions

View File

@ -1416,11 +1416,11 @@ class EditMessageTest(ZulipTestCase):
# without allow_message_editing, nothing is allowed
set_message_editing_params(False, 240)
do_edit_message_assert_error(id_, 'E', "Your organization has turned off message editing.", True)
do_edit_message_assert_error(id_, 'E', "Your organization has turned off message editing", True)
set_message_editing_params(False, 120)
do_edit_message_assert_error(id_, 'F', "Your organization has turned off message editing.", True)
do_edit_message_assert_error(id_, 'F', "Your organization has turned off message editing", True)
set_message_editing_params(False, 0)
do_edit_message_assert_error(id_, 'G', "Your organization has turned off message editing.", True)
do_edit_message_assert_error(id_, 'G', "Your organization has turned off message editing", True)
def test_propagate_topic_forward(self):
# type: () -> None