aboutsummaryrefslogtreecommitdiffstats
path: root/models/webhook_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook_test.go')
-rw-r--r--models/webhook_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/models/webhook_test.go b/models/webhook_test.go
index f8e4234299..5ee7f9159b 100644
--- a/models/webhook_test.go
+++ b/models/webhook_test.go
@@ -61,7 +61,11 @@ func TestWebhook_UpdateEvent(t *testing.T) {
}
func TestWebhook_EventsArray(t *testing.T) {
- assert.Equal(t, []string{"create", "delete", "fork", "push", "issues", "issue_comment", "pull_request", "repository", "release"},
+ assert.Equal(t, []string{"create", "delete", "fork", "push",
+ "issues", "issue_assign", "issue_label", "issue_milestone", "issue_comment",
+ "pull_request", "pull_request_assign", "pull_request_label", "pull_request_milestone",
+ "pull_request_comment", "pull_request_review_approved", "pull_request_review_rejected",
+ "pull_request_review_comment", "pull_request_sync", "repository", "release"},
(&Webhook{
HookEvent: &HookEvent{SendEverything: true},
}).EventsArray(),