feat(syncing-server): persisting shared vault and key system associations (#660)

This commit is contained in:
Karol Sójko
2023-07-18 11:39:02 +02:00
committed by GitHub
parent fae4553fc8
commit 479d20e76f
44 changed files with 662 additions and 119 deletions
@@ -24,7 +24,6 @@ describe('RemoveUserFromSharedVault', () => {
fileUploadBytesUsed: 2,
userUuid: Uuid.create('00000000-0000-0000-0000-000000000000').getValue(),
timestamps: Timestamps.create(123, 123).getValue(),
sharedVaultItems: [],
}).getValue()
sharedVaultRepository = {} as jest.Mocked<SharedVaultRepositoryInterface>
sharedVaultRepository.findByUuid = jest.fn().mockResolvedValue(sharedVault)
@@ -89,7 +88,6 @@ describe('RemoveUserFromSharedVault', () => {
fileUploadBytesUsed: 2,
userUuid: Uuid.create('00000000-0000-0000-0000-000000000002').getValue(),
timestamps: Timestamps.create(123, 123).getValue(),
sharedVaultItems: [],
}).getValue()
sharedVaultRepository.findByUuid = jest.fn().mockResolvedValue(sharedVault)