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.

export: Fix emoji mentioned in tests to be correct.

Alex Vandiver4d0ad41307aa
diff --git a/zerver/tests/test_management_commands.py b/zerver/tests/test_management_commands.py
index 7ab909407eb..ddf0916fe7b 100644
--- a/zerver/tests/test_management_commands.py
+++ b/zerver/tests/test_management_commands.py
@@ -441,7 +441,7 @@ class TestExport(ZulipTestCase):
realm = get_realm("zulip")
self.send_stream_message(self.example_user("othello"), "Verona",
topic_name="Export",
- content="Thumbs up for export")
+ content="Outbox emoji for export")
message = Message.objects.last()
do_add_reaction(self.example_user("iago"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI)
do_add_reaction(self.example_user("hamlet"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI)
@@ -458,7 +458,7 @@ class TestExport(ZulipTestCase):
self.assertEqual(mock_print.mock_calls, [
call('\033[94mExporting realm\033[0m: zulip'),
- call('\n\033[94mMessage content:\033[0m\nThumbs up for export\n'),
+ call('\n\033[94mMessage content:\033[0m\nOutbox emoji for export\n'),
call('\033[94mNumber of users that reacted outbox:\033[0m 2 / 13 total users\n'),
])