mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	streams: Add notifications for posting policy changes.
An explanatory note on the changes in zulip.yaml and curl_param_value_generators is warranted here. In our automated tests for our curl examples, the test for the API endpoint that changes the posting permissions of a stream comes before our existing curl test for adding message reactions. Since there is an extra notification message due to the change in posting permissions, the message IDs used in tests that come after need to be incremented by 1. This is a part of #20289.
This commit is contained in:
		| @@ -126,8 +126,9 @@ def iago_message_id() -> Dict[str, object]: | ||||
| def add_emoji_to_message() -> Dict[str, object]: | ||||
|     user_profile = helpers.example_user("iago") | ||||
|  | ||||
|     # from OpenAPI format data in zulip.yaml | ||||
|     message_id = 43 | ||||
|     # The message ID here is hardcoded based on the corresponding value | ||||
|     # for the example message IDs we use in zulip.yaml. | ||||
|     message_id = 44 | ||||
|     emoji_name = "octopus" | ||||
|     emoji_code = "1f419" | ||||
|     reaction_type = "unicode_emoji" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user