mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
github: Include old issue number in transfer message for new repo.
This commit updates the GitHub webhook integration to include the old issue number in the transfer message sent for the new repository, alongside the old repository's full name.
This commit is contained in:
committed by
Tim Abbott
parent
f9107adaa4
commit
18d83534ff
@@ -236,7 +236,7 @@ class GitHubWebhookTest(WebhookTestCase):
|
||||
)
|
||||
|
||||
def test_issue_transfer_opened_message(self) -> None:
|
||||
expected_message = "[Issue #4 Fixture collection](https://github.com/CrisisCollab/admin-frontend-mvp/issues/4) was transferred from CrisisCollab/TestWebhook."
|
||||
expected_message = "[Issue #4 Fixture collection](https://github.com/CrisisCollab/admin-frontend-mvp/issues/4) was transferred from [CrisisCollab/TestWebhook#4](https://github.com/CrisisCollab/TestWebhook/issues/4)."
|
||||
expected_topic_name = "admin-frontend-mvp / issue #4 Fixture collection"
|
||||
self.check_webhook(
|
||||
"issues__opened_via_transfer",
|
||||
|
||||
Reference in New Issue
Block a user