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

Change filtering

This commit is contained in:
mcrakhman 2024-02-15 17:45:27 +01:00
parent 58f333354e
commit bc6638414c
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
2 changed files with 7 additions and 11 deletions

View file

@ -702,7 +702,7 @@ func TestObjectTree(t *testing.T) {
ctx.changeCreator.CreateRawWithData("8", aclList.Head().Id, "6", false, []byte("8"), "6"),
}
_, err := ctx.objTree.AddRawChanges(context.Background(), RawChangesPayload{
NewHeads: []string{"6"},
NewHeads: []string{"7", "8"},
RawChanges: rawChanges,
})
require.NoError(t, err)