mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
14 lines
251 B
Go
14 lines
251 B
Go
|
//go:build test_db_postgres
|
||
|
// +build test_db_postgres
|
||
|
|
||
|
package sqldb
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
// NewTestDB is a helper function that creates a Postgres database for testing.
|
||
|
func NewTestDB(t *testing.T) *PostgresStore {
|
||
|
return NewTestPostgresDB(t)
|
||
|
}
|