We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb2865 commit 9f1aa62Copy full SHA for 9f1aa62
modules/postgres/postgres_test.go
@@ -17,7 +17,6 @@ import (
17
_ "github.com/jackc/pgx/v5/stdlib"
18
_ "github.com/lib/pq"
19
"github.com/mdelapenya/tlscert"
20
- "github.com/stretchr/testify/assert"
21
"github.com/stretchr/testify/require"
22
23
"github.com/testcontainers/testcontainers-go"
@@ -237,12 +236,12 @@ func TestWithSSL(t *testing.T) {
237
236
238
db, err := sql.Open("postgres", connStr)
239
require.NoError(t, err)
240
- assert.NotNil(t, db)
+ require.NotNil(t, db)
241
defer db.Close()
242
243
result, err := db.Exec("SELECT * FROM testdb;")
244
245
- assert.NotNil(t, result)
+ require.NotNil(t, result)
246
}
247
248
func TestSSLValidatesKeyMaterialPath(t *testing.T) {
0 commit comments