Files
Atay-Makhzan/models/webhook/main_test.go
T

23 lines
454 B
Go
Raw Normal View History

2021-11-10 13:13:16 +08:00
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package webhook
import (
"path/filepath"
"testing"
"code.gitea.io/gitea/models/unittest"
2021-11-10 13:13:16 +08:00
)
func TestMain(m *testing.M) {
2022-04-14 21:58:21 +08:00
unittest.MainTest(m, &unittest.TestOptions{
GiteaRootPath: filepath.Join("..", ".."),
FixtureFiles: []string{
"webhook.yml",
"hook_task.yml",
},
})
2021-11-10 13:13:16 +08:00
}