fix linter

This commit is contained in:
Maycon Santos 2025-01-03 01:31:43 +01:00
parent 154d08c1a0
commit f7b1a17072

View File

@ -5,7 +5,6 @@ package testutil
import (
"context"
"fmt"
"os"
"time"
@ -16,10 +15,6 @@ import (
"github.com/testcontainers/testcontainers-go/wait"
)
var (
mysqlContainerConfigPath = "../testdata/mysql.cnf"
)
// CreateMysqlTestContainer creates a new MySQL container for testing.
func CreateMysqlTestContainer() (func(), error) {
ctx := context.Background()
@ -83,7 +78,5 @@ func CreatePostgresTestContainer() (func(), error) {
return nil, err
}
fmt.Println("talksConn: ", talksConn)
return cleanUp, os.Setenv("NETBIRD_STORE_ENGINE_POSTGRES_DSN", talksConn)
}