diff options
Diffstat (limited to 'internal/storage')
| -rw-r--r-- | internal/storage/db_test.go | 3 |
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() |