Files
query-orchestration/internal/database/migrations_test.go
T
Michael McGuinness 372edce065 movetests
2025-01-07 16:30:45 +00:00

18 lines
310 B
Go

package database_test
import (
"context"
"os"
"path"
"queryorchestration/internal/database"
"testing"
)
func TestRunMigrations(t *testing.T) {
ctx := context.Background()
_, container := createDB(t, ctx)
defer container.Terminate(ctx)
database.RunMigrations(path.Join(os.Getenv("PWD"), "../.."))
}