aboutsummaryrefslogtreecommitdiffstats
path: root/services/webhook/general_test.go
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-09-21 17:55:09 -0500
committerGitHub <noreply@github.com>2023-09-21 17:55:09 -0500
commit7520cd678c3ef037db702296192d8664b6f02a54 (patch)
tree2107f266844529d3a24c055a4f5a5f0db775c687 /services/webhook/general_test.go
parent1f026bcb7eecad0b98d65089bb7fe5986b337d7d (diff)
downloadgitea-7520cd678c3ef037db702296192d8664b6f02a54.tar.gz
gitea-7520cd678c3ef037db702296192d8664b6f02a54.zip
Fix release URL in webhooks (#27182)
Diffstat (limited to 'services/webhook/general_test.go')
-rw-r--r--services/webhook/general_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/general_test.go b/services/webhook/general_test.go
index 64bd72f5a0..a9a8c6b521 100644
--- a/services/webhook/general_test.go
+++ b/services/webhook/general_test.go
@@ -240,7 +240,7 @@ func pullReleaseTestPayload() *api.ReleasePayload {
Target: "master",
Title: "First stable release",
Note: "Note of first stable release",
- URL: "http://localhost:3000/api/v1/repos/test/repo/releases/2",
+ HTMLURL: "http://localhost:3000/test/repo/releases/tag/v1.0",
},
}
}