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.

middleware-test: Use "restrict-wildcard-mentions" for admonition test.

Lauryn Menardba21796cb4c6
diff --git a/zerver/tests/test_middleware.py b/zerver/tests/test_middleware.py
index cbfcc963614..5b6ab8cf4e2 100644
--- a/zerver/tests/test_middleware.py
+++ b/zerver/tests/test_middleware.py
@@ -85,20 +85,20 @@ class OpenGraphTest(ZulipTestCase):
self.assertNotIn(substring, open_graph_description)
def test_admonition_and_link(self) -> None:
- # disable-message-edit-history starts with an {!admin-only.md!}, and has a link
- # in the first paragraph.
+ # restrict-wildcard-mentions starts with an {!admin-only.md!},
+ # and has a link in the first paragraph.
self.check_title_and_description(
- "/help/disable-message-edit-history",
- "Disable message edit history | Zulip help center",
+ "/help/restrict-wildcard-mentions",
+ "Restrict wildcard mentions | Zulip help center",
[
- "In Zulip, users can view the edit history of a message. | To remove the",
- "best to delete the message entirely. ",
+ "Organization administrators can configure who is allowed to use wildcard mentions ",
+ "more than 15 participants. | This permission can be granted to any combination of roles, ",
],
[
- "Disable message edit history",
+ "Restrict wildcard mentions",
"feature is only available",
"Related articles",
- "Restrict message editing",
+ "DMs, mentions, and alerts",
],
)