Skip to content

Commit

Permalink
Merge pull request #140 from Torakushi/fix-lint
Browse files Browse the repository at this point in the history
fix 'gosec' linter error in tests
  • Loading branch information
aakselrod authored Jan 10, 2024
2 parents 70bafd0 + 1a77883 commit e28cf41
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 e28cf41

Please sign in to comment.