Bug fixes and unit tests for models/webhook (#751)

This commit is contained in:
Ethan Koenig 2017-01-25 05:37:35 -05:00 committed by Lunny Xiao
parent a6832c234d
commit 0934d1b1ea
5 changed files with 312 additions and 20 deletions

View file

@ -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)