mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
16 lines
257 B
Go
16 lines
257 B
Go
//go:build !test_db_postgres
|
|
|
|
package loopdb
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
var (
|
|
testDBType = "sqlite"
|
|
)
|
|
|
|
// NewTestDB is a helper function that creates an SQLite database for testing.
|
|
func NewTestDB(t *testing.T) *SqliteSwapStore {
|
|
return NewTestSqliteDB(t)
|
|
}
|