1
0
Fork 0
forked from forgejo/forgejo

[TEST] webhook creation payload ref

This commit is contained in:
oliverpool 2024-04-05 11:24:32 +02:00
parent 11fd8d5109
commit 9d2919248b
3 changed files with 74 additions and 1 deletions

View file

@ -83,6 +83,7 @@ func testPullCleanUp(t *testing.T, session *TestSession, user, repo, pullnum str
return resp
}
// returns the hook tasks, order by ID desc.
func retrieveHookTasks(t *testing.T, hookID int64, activateWebhook bool) []*webhook.HookTask {
t.Helper()
if activateWebhook {