chore: enable e2e test for already existing members of shared vaults (#2396)

This commit is contained in:
Karol Sójko
2023-08-08 15:09:34 +02:00
committed by GitHub
parent b10eb5f2e8
commit 5617e37cd4
2 changed files with 4 additions and 1 deletions

View File

@@ -189,6 +189,9 @@ export class VaultInviteService
sharedVaultContacts: contacts,
permission,
})
if (result.isFailed()) {
return Result.fail(result.getError())
}
void this.notifyEvent(VaultInviteServiceEvent.InviteSent)

View File

@@ -224,7 +224,7 @@ describe('shared vault invites', function () {
await deinitContactContext()
})
it.skip('should fail to invite user if already member of shared vault', async () => {
it('should fail to invite user if already member of shared vault', async () => {
const { sharedVault, contact, deinitContactContext } = await Collaboration.createSharedVaultWithAcceptedInvite(
context,
)