Skip to content

Commit 20d888c

Browse files
committed
fix tests
1 parent bae852c commit 20d888c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitea/gitea_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestBadRequests(t *testing.T) {
8484
event: PushEvent,
8585
payload: bytes.NewBuffer([]byte("{}")),
8686
headers: http.Header{
87-
"X-Github-Event": []string{"push"},
87+
"X-Gitea-Event": []string{"push"},
8888
"X-Gitea-Signature": []string{""},
8989
},
9090
},
@@ -93,7 +93,7 @@ func TestBadRequests(t *testing.T) {
9393
event: PushEvent,
9494
payload: bytes.NewBuffer([]byte("{}")),
9595
headers: http.Header{
96-
"X-Github-Event": []string{"push"},
96+
"X-Gitea-Event": []string{"push"},
9797
"X-Gitea-Signature": []string{"111"},
9898
},
9999
},

0 commit comments

Comments
 (0)