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

Create storage fixes

This commit is contained in:
mcrakhman 2024-11-25 11:57:13 +01:00
parent 471ebf73a4
commit 42639f17a1
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
2 changed files with 37 additions and 35 deletions

View file

@ -306,7 +306,8 @@ func TestObjectTree(t *testing.T) {
IsEncrypted: true,
}, aAccount.Acl)
require.NoError(t, err)
aStore, _ := createStorage(ctx, root, store)
aStore, err := createStorage(ctx, root, store)
require.NoError(t, err)
aTree, err := BuildKeyFilterableObjectTree(aStore, aAccount.Acl)
require.NoError(t, err)
err = aTree.Delete()