mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-20 10:34:21 +01:00
aperturedb: add support for postgres/sqlite
This commit is contained in:
13
aperturedb/test_postgres.go
Normal file
13
aperturedb/test_postgres.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build test_db_postgres
|
||||
// +build test_db_postgres
|
||||
|
||||
package aperturedb
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// NewTestDB is a helper function that creates a Postgres database for testing.
|
||||
func NewTestDB(t *testing.T) *PostgresStore {
|
||||
return NewTestPostgresDB(t)
|
||||
}
|
||||
Reference in New Issue
Block a user