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
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
3 changed files with 2518 additions and 2489 deletions

File diff suppressed because it is too large Load diff

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)
}