0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-30 13:00:46 +02:00
gitea/models/webhook/main_test.go

21 lines
344 B
Go

// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package webhook
import (
"testing"
"gitea.dev/models/unittest"
)
func TestMain(m *testing.M) {
unittest.MainTest(m, &unittest.TestOptions{
FixtureFiles: []string{
"webhook.yml",
"hook_task.yml",
},
SetUp: prepareWebhookTestData,
})
}