mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	urls: Generate narrow links in backend with "channel" operator.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							240c4d85ae
						
					
				
				
					commit
					70ab893d34
				
			@@ -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.",
 | 
			
		||||
            },
 | 
			
		||||
        ]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user