urls: Generate narrow links in backend with "channel" operator.

This commit is contained in:
Lauryn Menard
2024-10-04 16:54:16 +02:00
committed by Tim Abbott
parent 240c4d85ae
commit 70ab893d34
12 changed files with 53 additions and 53 deletions

View File

@@ -5124,7 +5124,7 @@ class TestPushNotificationsContent(ZulipTestCase):
},
{
"name": "stream_names",
"rendered_content": f'<p>Testing stream names <a class="stream" data-stream-id="{stream.id}" href="/#narrow/stream/Verona">#Verona</a>.</p>',
"rendered_content": f'<p>Testing stream names <a class="stream" data-stream-id="{stream.id}" href="/#narrow/channel/Verona">#Verona</a>.</p>',
"expected_output": "Testing stream names #Verona.",
},
]