mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	streams: Capitalize "ID" in invalid stream errors in API.
This commit changes the error message from "Invalid stream id" to "Invalid stream ID" for cases where invalid stream IDs are passed to API endpoints to make it consistent with other similar error messages.
This commit is contained in:
		@@ -1778,7 +1778,7 @@ class EditMessageTest(EditMessageTestCase):
 | 
			
		||||
            },
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        self.assert_json_error(result, "Invalid stream id")
 | 
			
		||||
        self.assert_json_error(result, "Invalid stream ID")
 | 
			
		||||
 | 
			
		||||
    def test_move_message_realm_admin_cant_move_to_private_stream_without_subscription(
 | 
			
		||||
        self,
 | 
			
		||||
@@ -1798,7 +1798,7 @@ class EditMessageTest(EditMessageTestCase):
 | 
			
		||||
            },
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        self.assert_json_error(result, "Invalid stream id")
 | 
			
		||||
        self.assert_json_error(result, "Invalid stream ID")
 | 
			
		||||
 | 
			
		||||
    def test_move_message_realm_admin_cant_move_from_private_stream_without_subscription(
 | 
			
		||||
        self,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user