mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
integration: Remove branch names from Gitea edited PR event.
This is a follow up to #24673, we want to modify every webhook events to follow the same pattern and consistency where branch name should only show on opened and merged events.
This commit is contained in:
@@ -36,7 +36,9 @@ class GiteaHookTests(WebhookTestCase):
|
||||
|
||||
def test_pull_request_edited(self) -> None:
|
||||
expected_topic = "test / PR #1906 test 2"
|
||||
expected_message = """kostekIV edited [PR #5](https://try.gitea.io/kostekIV/test/pulls/5) from `d` to `master`."""
|
||||
expected_message = (
|
||||
"""kostekIV edited [PR #5](https://try.gitea.io/kostekIV/test/pulls/5)."""
|
||||
)
|
||||
self.check_webhook("pull_request__edited", expected_topic, expected_message)
|
||||
|
||||
def test_pull_request_reopened(self) -> None:
|
||||
|
Reference in New Issue
Block a user