multi: move StoreMock to loopdb

This commit is contained in:
George Tsagkarelis 2024-01-18 12:26:07 +01:00
parent 99608ad515
commit e0d85958f7
No known key found for this signature in database
GPG key ID: E08DEA9B12B66AF6
8 changed files with 402 additions and 375 deletions

View file

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