Added GitHub deploy_key Event
This commit is contained in:
@@ -183,6 +183,16 @@ func TestWebhooks(t *testing.T) {
|
||||
"X-Hub-Signature": []string{"sha1=4ddef04fd05b504c7041e294fca3ad1804bc7be1"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "DeployKeyEvent",
|
||||
event: DeployKeyEvent,
|
||||
typ: DeployKeyPayload{},
|
||||
filename: "../testdata/github/deploy_key.json",
|
||||
headers: http.Header{
|
||||
"X-Github-Event": []string{"deploy_key"},
|
||||
"X-Hub-Signature": []string{"sha1=dc9eea5621f5942542c94443cd2b71c8d7526168"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "DeploymentEvent",
|
||||
event: DeploymentEvent,
|
||||
|
||||
Reference in New Issue
Block a user