first-commit
This commit is contained in:
19
models/webhook/main_test.go
Normal file
19
models/webhook/main_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2020 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package webhook
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"code.gitea.io/gitea/models/unittest"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
unittest.MainTest(m, &unittest.TestOptions{
|
||||
FixtureFiles: []string{
|
||||
"webhook.yml",
|
||||
"hook_task.yml",
|
||||
},
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user