aboutsummaryrefslogtreecommitdiffstats
path: root/internal/bolttest
diff options
context:
space:
mode:
Diffstat (limited to 'internal/bolttest')
-rw-r--r--internal/bolttest/db.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/bolttest/db.go b/internal/bolttest/db.go
index 743b8fc..3b75c61 100644
--- a/internal/bolttest/db.go
+++ b/internal/bolttest/db.go
@@ -29,12 +29,8 @@ func NewTestDB(t *testing.T) storage.DB {
func NewTestConnectionConfig() configloader.ConnectionConfig {
return configloader.ConnectionConfig{
+ DSN: os.Getenv("BOLT_DB_DSN"),
Driver: os.Getenv("BOLT_DB_DRIVER"),
- DBName: os.Getenv("BOLT_DB_NAME"),
- Host: os.Getenv("BOLT_DB_HOST"),
- Port: os.Getenv("BOLT_DB_PORT"),
- User: os.Getenv("BOLT_DB_USER"),
- Password: os.Getenv("BOLT_DB_PASSWORD"),
MigrationsTable: os.Getenv("BOLT_DB_MIGRATIONS_TABLE"),
}
}