mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 22:21:16 +01:00
Fix possible data race on tests (#30093)
This commit is contained in:
parent
2ab5f05f40
commit
0c8b828f5d
1 changed files with 0 additions and 1 deletions
|
@ -107,7 +107,6 @@ func TestWebhookDeliverAuthorizationHeader(t *testing.T) {
|
|||
err := hook.SetHeaderAuthorization("Bearer s3cr3t-t0ken")
|
||||
assert.NoError(t, err)
|
||||
assert.NoError(t, webhook_model.CreateWebhook(db.DefaultContext, hook))
|
||||
db.GetEngine(db.DefaultContext).NoAutoTime().DB().Logger.ShowSQL(true)
|
||||
|
||||
hookTask := &webhook_model.HookTask{
|
||||
HookID: hook.ID,
|
||||
|
|
Loading…
Reference in a new issue