Skip to content

Commit

Permalink
Update modules/postgres/postgres_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Hartland <[email protected]>
  • Loading branch information
bearrito and stevenh authored Dec 23, 2024
1 parent 18ab8b7 commit ab0e3ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ func createSSLCerts(t *testing.T) (*tlscert.Certificate, *tlscert.Certificate, e
tmpDir := t.TempDir()
certsDir := tmpDir + "/certs"

if err := os.MkdirAll(certsDir, 0o755); err != nil {
t.Fatal(err)
}
require.NoError(t, os.MkdirAll(certsDir, 0o755))

t.Cleanup(func() {
require.NoError(t, os.RemoveAll(tmpDir))
Expand Down

0 comments on commit ab0e3ff

Please sign in to comment.