mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-25 04:57:31 +00:00
fix webhook url (#34186)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit aada0370e7d72a591d58788f6db76bdbc3dddbb7)
This commit is contained in:
parent
9144726e4f
commit
82dd00873d
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ func TestWebhook_EventsArray(t *testing.T) {
|
|||
func TestCreateWebhook(t *testing.T) {
|
||||
hook := &Webhook{
|
||||
RepoID: 3,
|
||||
URL: "www.example.com/unit_test",
|
||||
URL: "https://www.example.com/unit_test",
|
||||
ContentType: ContentTypeJSON,
|
||||
Events: `{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}`,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue