fixed issue w/ test database driver

This commit is contained in:
Brad Rydzewski 2016-03-25 13:24:16 -07:00
parent 688b29b639
commit 3c7b33de7b

View file

@ -88,7 +88,7 @@ func openTest() *sql.DB {
)
if os.Getenv("DATABASE_DRIVER") != "" {
driver = os.Getenv("DATABASE_DRIVER")
config = os.Getenv("DATABASE_DATASOURCE")
config = os.Getenv("DATABASE_CONFIG")
}
return open(driver, config)
}