mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: move StoreMock to loopdb
This commit is contained in:
parent
99608ad515
commit
e0d85958f7
8 changed files with 402 additions and 375 deletions
|
|
@ -18,7 +18,7 @@ type loopInTestContext struct {
|
|||
t *testing.T
|
||||
lnd *test.LndMockServices
|
||||
server *serverMock
|
||||
store *storeMock
|
||||
store *loopdb.StoreMock
|
||||
sweeper *sweep.Sweeper
|
||||
cfg *executeConfig
|
||||
statusChan chan SwapInfo
|
||||
|
|
@ -31,7 +31,7 @@ type loopInTestContext struct {
|
|||
func newLoopInTestContext(t *testing.T) *loopInTestContext {
|
||||
lnd := test.NewMockLnd()
|
||||
server := newServerMock(lnd)
|
||||
store := newStoreMock(t)
|
||||
store := loopdb.NewStoreMock(t)
|
||||
sweeper := sweep.Sweeper{Lnd: &lnd.LndServices}
|
||||
|
||||
blockEpochChan := make(chan interface{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue