mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
integrations: Use correct type for GitHub pull request comment messages.
This commit is contained in:
committed by
Tim Abbott
parent
d2589a5bd1
commit
cda7ed7101
@@ -146,7 +146,7 @@ class GitHubWebhookTest(WebhookTestCase):
|
||||
self.check_webhook("issue_comment", expected_topic, expected_message)
|
||||
|
||||
def test_issue_comment_pull_request_comment_msg(self) -> None:
|
||||
expected_message = "sbansal1999 [commented](https://github.com/sbansal1999/public-repo/pull/1#issuecomment-1631445420) on [issue #1](https://github.com/sbansal1999/public-repo/pull/1):\n\n~~~ quote\nSome comment\n~~~"
|
||||
expected_message = "sbansal1999 [commented](https://github.com/sbansal1999/public-repo/pull/1#issuecomment-1631445420) on [PR #1](https://github.com/sbansal1999/public-repo/pull/1):\n\n~~~ quote\nSome comment\n~~~"
|
||||
self.check_webhook("issue_comment__pull_request_comment", TOPIC_PR, expected_message)
|
||||
|
||||
def test_issue_msg(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user