kvdb: move channeldb/kvdb to top level

This commit is contained in:
Andras Banki-Horvath committed 2021-05-07 14:18:56 +02:00
1 parent b1d9525d29
commit 14c851c8fc
143 files changed
+119 -119

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
// +build kvdb_etcd
package etcd
import (
"context"
"testing"
"github.com/btcsuite/btcwallet/walletdb/walletdbtest"
)
// TestWalletDBInterface performs the WalletDB interface test suite for the
// etcd database driver.
func TestWalletDBInterface(t *testing.T) {
f := NewEtcdTestFixture(t)
defer f.Cleanup()
cfg := f.BackendConfig()
walletdbtest.TestInterface(t, dbType, context.TODO(), &cfg)
}