mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	test_subs: Add tests for unsubscribing multiple users from stream.
This commit adds tests for unsusbcribing multiple users from a
stream and fixes the missing coverage issue introduced in 2187c84.
			
			
This commit is contained in:
		@@ -264,7 +264,7 @@ def remove_subscriptions_backend(
 | 
			
		||||
                removing_someone_else = principals[0] != user_profile.id
 | 
			
		||||
            else:
 | 
			
		||||
                removing_someone_else = principals[0] != user_profile.email
 | 
			
		||||
        else:  # nocoverage # TODO: Fix me.
 | 
			
		||||
        else:
 | 
			
		||||
            removing_someone_else = True
 | 
			
		||||
 | 
			
		||||
    if removing_someone_else and not user_profile.is_realm_admin:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user