jenkins setup

This commit is contained in:
simon987
2019-03-09 09:31:19 -05:00
parent 6048cfbebc
commit fea86af41d
7 changed files with 128 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ import (
func TestMain(m *testing.M) {
//db, err := gorm.Open("postgres", "host=localhost user=ws_bucket dbname=ws_bucket password=ws_bucket sslmode=disable")
db, err := gorm.Open("sqlite3", ":memory:")
db, err := gorm.Open("sqlite3", "test.db")
if err != nil {
panic(err)
}