mirror of
https://github.com/dnote/dnote
synced 2026-03-16 23:45:52 +01:00
Fix test (#317)
This commit is contained in:
parent
bd97209af8
commit
22aa25498d
1 changed files with 1 additions and 0 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue