mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
write space hash on open
This commit is contained in:
parent
ccfcc2f399
commit
11d50d087a
3 changed files with 8 additions and 2 deletions
|
@ -46,6 +46,9 @@ func TestDiffService(t *testing.T) {
|
|||
Id: initId,
|
||||
Head: "h1h2",
|
||||
})
|
||||
hash := "123"
|
||||
diffMock.EXPECT().Hash().Return(hash)
|
||||
storageMock.EXPECT().WriteSpaceHash(hash)
|
||||
pSyncMock.EXPECT().Run()
|
||||
service.Init([]string{initId}, delState)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue