1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-11 18:20:28 +09:00

Change doSnapshot method call

This commit is contained in:
mcrakhman 2023-03-29 23:43:04 +02:00 committed by Mikhail Iudin
parent 4da3fcbd4a
commit 73845d8842
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -136,6 +136,9 @@ func TestSettingsObject_DeleteObject_NoSnapshot(t *testing.T) {
require.NoError(t, err)
delId := "delId"
doSnapshot = func(len int) bool {
return false
}
fx.syncTree.EXPECT().Id().Return("syncId")
fx.syncTree.EXPECT().Len().Return(10)