This commit is contained in:
Sung Won Cho 2019-11-17 14:58:15 +08:00 committed by GitHub
commit 22aa25498d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,7 @@ var DB *gorm.DB
// the environment variable configuration and initalizes a new schema
func InitTestDB() {
db := dbconn.Open(dbconn.Config{
SkipSSL: true,
Host: os.Getenv("DBHost"),
Port: os.Getenv("DBPort"),
Name: os.Getenv("DBName"),