Skip to content

Commit 82dd008

Browse files
hiifongwxiaoguang
authored andcommitted
fix webhook url (go-gitea#34186)
Co-authored-by: wxiaoguang <[email protected]> (cherry picked from commit aada037)
1 parent 9144726 commit 82dd008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/webhook/webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func TestWebhook_EventsArray(t *testing.T) {
9191
func TestCreateWebhook(t *testing.T) {
9292
hook := &Webhook{
9393
RepoID: 3,
94-
URL: "www.example.com/unit_test",
94+
URL: "https://www.example.com/unit_test",
9595
ContentType: ContentTypeJSON,
9696
Events: `{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}`,
9797
}

0 commit comments

Comments
 (0)