Added supported for GitHub pull request comments.
This commit is contained in:
@@ -273,6 +273,16 @@ func TestWebhooks(t *testing.T) {
|
||||
"X-Hub-Signature": []string{"sha1=e724c9f811fcf5f511aac32e4251b08ab1a0fd87"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "PullRequestIssueCommentEvent",
|
||||
event: IssueCommentEvent,
|
||||
typ: IssueCommentPayload{},
|
||||
filename: "../testdata/github/pull-request-issue-comment.json",
|
||||
headers: http.Header{
|
||||
"X-Github-Event": []string{"issue_comment"},
|
||||
"X-Hub-Signature": []string{"sha1=6c969b99ef881b5c98b2dbfc66a34465fcf0e7d4"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "IssuesEvent",
|
||||
event: IssuesEvent,
|
||||
|
||||
Reference in New Issue
Block a user