mock: Fix tests
This commit is contained in:
parent
b2fe2c0e3b
commit
3791008b01
@ -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 {
|
||||
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user