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

Change AddContentWithValidator

This commit is contained in:
mcrakhman 2025-01-09 19:56:50 +01:00
parent b97ff65643
commit 915d7d0384
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
3 changed files with 14 additions and 18 deletions

View file

@ -576,7 +576,7 @@ func TestObjectTree(t *testing.T) {
IsEncrypted: true,
Timestamp: 0,
DataType: mockDataType,
}, func(change *treechangeproto.RawTreeChangeWithId) error {
}, func(change StorageChange) error {
return errors.New("validation failed")
})
require.Error(t, err)