mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
Improve testing init, clean up webhook tests (#37412)
Avoid webhook test fixtures affect other tests (be triggered) Also fixed more testing problems including path init, global config pollution & conflict --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wxiaoguang <2114189+wxiaoguang@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
co-authored by
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
wxiaoguang
wxiaoguang
silverwind
parent
24b60f8ff9
commit
9b9fb95559
@@ -15,5 +15,6 @@ func TestMain(m *testing.M) {
|
||||
"webhook.yml",
|
||||
"hook_task.yml",
|
||||
},
|
||||
SetUp: prepareWebhookTestData,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user