-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fix: show e-mail in subline of e-mail guests for moderators
- refactor resendInvitations Signed-off-by: Maksim Sukharev <[email protected]>
- Loading branch information
Showing
7 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -526,6 +526,7 @@ describe('Participant.vue', () => { | |
test('allows moderators to resend invitations for email participants', async () => { | ||
conversation.participantType = PARTICIPANT.TYPE.MODERATOR | ||
participant.actorType = ATTENDEE.ACTOR_TYPE.EMAILS | ||
participant.invitedActorId = '[email protected]' | ||
const wrapper = mountParticipant(participant) | ||
const actionButton = findNcActionButton(wrapper, 'Resend invitation') | ||
expect(actionButton.exists()).toBe(true) | ||
|
@@ -535,6 +536,7 @@ describe('Participant.vue', () => { | |
expect(resendInvitationsAction).toHaveBeenCalledWith(expect.anything(), { | ||
token: 'current-token', | ||
attendeeId: 'alice-attendee-id', | ||
actorId: '[email protected]', | ||
}) | ||
}) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters