loop/loopdb/test_postgres.go

14 lines
252 B
Go
Raw Normal View History

//go:build test_db_postgres
// +build test_db_postgres
package loopdb
import (
"testing"
)
// NewTestDB is a helper function that creates a Postgres database for testing.
func NewTestDB(t *testing.T) *PostgresStore {
return NewTestPostgresDB(t)
}