Ctrl K
ComunidadGuías…

internal/repository/main_test.go

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
package repository_test

import (
	"os"
	"testing"

	"xprem/internal/database/postgres/pgtest"
)

// The Postgres-backed tests in this package share TEST_DATABASE_URL with
// ee/rbac and ee/sso; pgtest serializes the packages so their wholesale
// cleanups cannot wipe each other's rows.
func TestMain(m *testing.M) {
	os.Exit(pgtest.RunSerialized(m))
}