mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Provide treemanager from outside for settings id
This commit is contained in:
parent
7a45acb497
commit
e9ea4e1d3e
5 changed files with 8 additions and 8 deletions
|
@ -127,7 +127,7 @@ func TestDiffSyncer_Sync(t *testing.T) {
|
|||
l := logger.NewNamed(spaceId)
|
||||
diffSyncer := newDiffSyncer(spaceId, diffMock, peerManagerMock, cacheMock, stMock, factory, syncstatus.NewNoOpSyncStatus(), credentialProvider, l)
|
||||
delState.EXPECT().AddObserver(gomock.Any())
|
||||
cacheMock.EXPECT().NewTreeSyncer(spaceId).Return(treeSyncerMock)
|
||||
cacheMock.EXPECT().NewTreeSyncer(spaceId, gomock.Any()).Return(treeSyncerMock)
|
||||
diffSyncer.Init(delState)
|
||||
|
||||
t.Run("diff syncer sync", func(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue