Skip to content

Commit c4e51bc

Browse files
committed
Updated test with new changes.
1 parent f22656b commit c4e51bc

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
@@ -240,7 +240,7 @@ func TestWebhooks(t *testing.T) {
240240
filename: "../testdata/github/installation.json",
241241
headers: http.Header{
242242
"X-Github-Event": []string{"installation"},
243-
"X-Hub-Signature": []string{"sha1=2058cf6cc28570710afbc638e669f5c67305a2db"},
243+
"X-Hub-Signature": []string{"sha1=2bcb4ad96133ce2dd6d140fad7a80a2b14407f7f"},
244244
},
245245
},
246246
{
@@ -250,7 +250,7 @@ func TestWebhooks(t *testing.T) {
250250
filename: "../testdata/github/installation-repositories.json",
251251
headers: http.Header{
252252
"X-Github-Event": []string{"installation_repositories"},
253-
"X-Hub-Signature": []string{"sha1=c587fbd9dd169db8ae592b3bcc80b08e2e6f4f45"},
253+
"X-Hub-Signature": []string{"sha1=997680ef1e6f4a6b6595f5fa70b82989f505137f"},
254254
},
255255
},
256256
{

testdata/github/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/installation.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
"repositories": [

0 commit comments

Comments
 (0)