1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Add subscribe after push

This commit is contained in:
mcrakhman 2023-02-17 22:27:10 +01:00 committed by Mikhail Iudin
parent 370683ff70
commit c95059b4c6
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
2 changed files with 23 additions and 2 deletions

View file

@ -192,6 +192,7 @@ func TestDiffSyncer_Sync(t *testing.T) {
clientMock.EXPECT().
SpacePush(gomock.Any(), newPushSpaceRequestMatcher(spaceId, aclRootId, settingsId, spaceHeader)).
Return(nil, nil)
peerManagerMock.EXPECT().SendPeer(gomock.Any(), "mockId", gomock.Any())
require.NoError(t, diffSyncer.Sync(ctx))
})