chore: enable e2e test for already existing members of shared vaults (#2396)
This commit is contained in:
@@ -189,6 +189,9 @@ export class VaultInviteService
|
|||||||
sharedVaultContacts: contacts,
|
sharedVaultContacts: contacts,
|
||||||
permission,
|
permission,
|
||||||
})
|
})
|
||||||
|
if (result.isFailed()) {
|
||||||
|
return Result.fail(result.getError())
|
||||||
|
}
|
||||||
|
|
||||||
void this.notifyEvent(VaultInviteServiceEvent.InviteSent)
|
void this.notifyEvent(VaultInviteServiceEvent.InviteSent)
|
||||||
|
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ describe('shared vault invites', function () {
|
|||||||
await deinitContactContext()
|
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(
|
const { sharedVault, contact, deinitContactContext } = await Collaboration.createSharedVaultWithAcceptedInvite(
|
||||||
context,
|
context,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user