mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-25 02:56:55 +08:00
Bug fixes and unit tests for models/webhook (#751)
This commit is contained in:
@ -16,6 +16,8 @@ import (
|
||||
"gopkg.in/testfixtures.v2"
|
||||
)
|
||||
|
||||
const NonexistentID = 9223372036854775807
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if err := CreateTestEngine(); err != nil {
|
||||
fmt.Printf("Error creating test engine: %v\n", err)
|
||||
|
Reference in New Issue
Block a user