Skip to content

Commit b793bbf

Browse files
committed
Fixed test for integration installation events.
1 parent c4e51bc commit b793bbf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

github/github_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func TestWebhooks(t *testing.T) {
260260
filename: "../testdata/github/integration-installation.json",
261261
headers: http.Header{
262262
"X-Github-Event": []string{"integration_installation"},
263-
"X-Hub-Signature": []string{"sha1=bb2769f05f1a11af3a1edf8f9fac11bae7402a1e"},
263+
"X-Hub-Signature": []string{"sha1=1172601d35bdebac5f3aa7618c9e58eafb404c6f"},
264264
},
265265
},
266266
{
@@ -270,7 +270,7 @@ func TestWebhooks(t *testing.T) {
270270
filename: "../testdata/github/integration-installation-repositories.json",
271271
headers: http.Header{
272272
"X-Github-Event": []string{"integration_installation_repositories"},
273-
"X-Hub-Signature": []string{"sha1=2f00a982574188342c2894eb9d1b1e93434687fb"},
273+
"X-Hub-Signature": []string{"sha1=7c38ba703a3c89d00823920a47cd8863df8121d2"},
274274
},
275275
},
276276
{

testdata/github/integration-installation-repositories.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"push",
3939
"pull_request"
4040
],
41-
"created_at": 1525109898,
42-
"updated_at": 1525109899,
41+
"created_at": "2022-03-02T18:02:51.000Z",
42+
"updated_at": "2022-03-02T18:02:51.000Z",
4343
"single_file_name": "config.yml"
4444
},
4545
"repository_selection": "selected",

testdata/github/integration-installation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"events": [
3838
"pull_request"
3939
],
40-
"created_at": 1516025475,
41-
"updated_at": 1516025475,
40+
"created_at": "2022-03-02T18:02:51.000Z",
41+
"updated_at": "2022-03-02T18:02:51.000Z",
4242
"single_file_name": null
4343
},
4444
"repositories": [

0 commit comments

Comments
 (0)