Skip to content

Commit d08868b

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

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=7bd25ef42bcd493a23dd57ed9d75be5004938ae4"},
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=0dd0553cdbcfcf177ea5272eb026400f64f5aa18"},
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)