mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
fixed issue w/ test database driver
This commit is contained in:
parent
688b29b639
commit
3c7b33de7b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue