Respond 200 when receiving a ping event. (#2492)
This commit is contained in:
committed by
Cameron Sparr
parent
10744646db
commit
76bcdecd21
@@ -25,6 +25,10 @@ func TestCommitCommentEvent(t *testing.T) {
|
||||
GithubWebhookRequest("commit_comment", CommitCommentEventJSON(), t)
|
||||
}
|
||||
|
||||
func TestPingEvent(t *testing.T) {
|
||||
GithubWebhookRequest("ping", "", t)
|
||||
}
|
||||
|
||||
func TestDeleteEvent(t *testing.T) {
|
||||
GithubWebhookRequest("delete", DeleteEventJSON(), t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user