Skip to content

Commit

Permalink
fix 'gosec' linter error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Torakushi committed Jan 9, 2024
1 parent 70bafd0 commit 1a77883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions persistence/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type TestDBSettings struct {
func PGTestDSN() string {
dsn, ok := os.LookupEnv("LNMUX_TEST_DB_DSN")
if !ok {
//nolint:gosec
dsn = "postgres://bottle:bottle@localhost:45432/postgres?sslmode=disable"
}

Expand Down

0 comments on commit 1a77883

Please sign in to comment.