aboutsummaryrefslogtreecommitdiffstats
path: root/internal/storage/db_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/storage/db_test.go')
-rw-r--r--internal/storage/db_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/storage/db_test.go b/internal/storage/db_test.go
index eaf9dfe..9f87d4c 100644
--- a/internal/storage/db_test.go
+++ b/internal/storage/db_test.go
@@ -12,8 +12,9 @@ import (
func TestDBConnect_Success(t *testing.T) {
cfg := bolttest.NewTestConnectionConfig(t, "postgres")
+ connParams := storage.DBConnectionString(cfg)
- conn, err := storage.DBConnect(cfg.Driver, storage.DBConnectionString(cfg))
+ conn, err := storage.DBConnect(cfg.Driver, connParams)
assert.Nil(t, err)
defer conn.Close()