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.

test_markdown: Fix unnecessarily hard-coded user id.

Mateusz Mandera6ec5a9698fd9
diff --git a/zerver/tests/test_markdown.py b/zerver/tests/test_markdown.py
index 753f98e2505..1e66f243fce 100644
--- a/zerver/tests/test_markdown.py
+++ b/zerver/tests/test_markdown.py
@@ -1967,7 +1967,7 @@ class MarkdownTest(ZulipTestCase):
# incorrect(as it uses hamlet's id) so it should not be able
# to use that data for creating a valid mention.
- content = f"@**King Hamlet|10** and @**aaron|{hamlet.id}**"
+ content = f"@**King Hamlet|{hamlet.id}** and @**aaron|{hamlet.id}**"
rendering_result = render_markdown(msg, content)
self.assertEqual(
rendering_result.rendered_content,