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:
parent
b97ff65643
commit
915d7d0384
3 changed files with 14 additions and 18 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue