mock: Fix tests

This commit is contained in:
Łukasz Magiera 2020-07-23 19:46:51 +02:00
parent b2fe2c0e3b
commit 3791008b01
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import (
)
func TestOpFinish(t *testing.T) {
sb := NewMockSectorMgr(2048)
sb := NewMockSectorMgr(2048, nil)
sid, pieces, err := sb.StageFakeData(123)
if err != nil {

View File

@ -37,7 +37,7 @@ func newTestWorker(wcfg WorkerConfig, lstor *stores.Local) *testWorker {
acceptTasks: acceptTasks,
lstor: lstor,
mockSeal: mock.NewMockSectorMgr(ssize),
mockSeal: mock.NewMockSectorMgr(ssize, nil),
}
}