Skip to content

Commit

Permalink
add db_name parameter to sql connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Oct 25, 2023
1 parent 6cdcd82 commit da7675b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gotests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Go tests

on:
push:
branches:
- master
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/mock_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func MustGetPostgresStorage(tb testing.TB, init bool) (storage.Storage, func())
storageConf.PGUsername = postgres

connString := fmt.Sprintf(
"host=%s port=%d user=%s password=%s sslmode=disable",
"host=%s port=%d user=%s password=%s dbname=aggregator sslmode=disable",
storageConf.PGHost, storageConf.PGPort, storageConf.PGUsername, storageConf.PGPassword,
)

Expand Down

0 comments on commit da7675b

Please sign in to comment.