diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-09 12:07:30 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-09 12:07:30 -0500 |
| commit | 18cbade269362a3fed5763e2b1b39be33ba56aaf (patch) | |
| tree | d31df309169381b83f9cad67da15f38d0b3cccc6 /internal/storage | |
| parent | Add mysql docker compose file and use matrix in workflow (diff) | |
| download | cli-18cbade269362a3fed5763e2b1b39be33ba56aaf.zip | |
Fix tests to work without Dockerfile.test
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() |