mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 06:34:27 +01:00
channeldb/test: test with postgres
This commit is contained in:
@@ -95,6 +95,10 @@ type fixture struct {
|
||||
Db walletdb.DB
|
||||
}
|
||||
|
||||
func (b *fixture) DB() walletdb.DB {
|
||||
return b.Db
|
||||
}
|
||||
|
||||
// Dump returns the raw contents of the database.
|
||||
func (b *fixture) Dump() (map[string]interface{}, error) {
|
||||
dbConn, err := sql.Open("pgx", b.Dsn)
|
||||
|
||||
Reference in New Issue
Block a user