Skip to content

Commit 35d27fa

Browse files
authored
Merge pull request #821 from bhandras/support-incomplete-mocks
2 parents 64b0e24 + a55c461 commit 35d27fa

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

test/chainnotifier_mock.go

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import (
1313
)
1414

1515
type mockChainNotifier struct {
16+
lndclient.ChainNotifierClient
17+
1618
sync.Mutex
1719
lnd *LndMockServices
1820
confRegistrations []*ConfRegistration

test/invoices_mock.go

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import (
1515
)
1616

1717
type mockInvoices struct {
18+
lndclient.InvoicesClient
19+
1820
lnd *LndMockServices
1921
wg sync.WaitGroup
2022
}

test/signer_mock.go

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import (
1515
)
1616

1717
type mockSigner struct {
18+
lndclient.SignerClient
19+
1820
lnd *LndMockServices
1921
}
2022

test/versioner_mock.go

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ var (
2525
)
2626

2727
type mockVersioner struct {
28+
lndclient.VersionerClient
29+
2830
version *verrpc.Version
2931
}
3032

test/walletkit_mock.go

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import (
2727
var DefaultMockFee = chainfee.SatPerKWeight(10000)
2828

2929
type mockWalletKit struct {
30+
lndclient.WalletKitClient
31+
3032
lnd *LndMockServices
3133
keyIndex int32
3234

0 commit comments

Comments
 (0)