forked from forgejo/forgejo
[TEST] webhook creation payload ref
This commit is contained in:
parent
11fd8d5109
commit
9d2919248b
3 changed files with 74 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue