invoices: move InvoiceDB tests unrelated to kvdb to invoices package

This commit is contained in:
Andras Banki-Horvath
2023-10-18 15:42:17 +02:00
parent 6b0931af82
commit 5e746b4d2c
3 changed files with 2518 additions and 2489 deletions

2506
invoices/invoices_test.go Normal file

File diff suppressed because it is too large Load Diff

11
invoices/setup_test.go Normal file
View File

@@ -0,0 +1,11 @@
package invoices
import (
"testing"
"github.com/lightningnetwork/lnd/kvdb"
)
func TestMain(m *testing.M) {
kvdb.RunTests(m)
}