api: rename connectDB

This commit is contained in:
Adhityaa Chandrasekar
2018-07-24 12:20:14 +05:30
parent 645fad6139
commit 58c011030e
3 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ func setupTestDatabase() error {
os.Setenv("POSTGRES", "postgres://postgres:postgres@localhost/commento_test?sslmode=disable")
}
if err := connectDB(0); err != nil {
if err := dbConnect(0); err != nil {
return err
}