Skip to content

Commit

Permalink
Updated test with single role
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmarete committed Jan 23, 2025
1 parent 1c659e3 commit 24e9ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groups/Members/NewMemberModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('NewMemberModal', () => {
});
expect(screen.getByText(userRole)).toBeInTheDocument();
expect(addButton).not.toBeDisabled();
expect(mockAddFunction).toHaveBeenCalledWith([userRole], userEmails);
expect(mockAddFunction).toHaveBeenCalledWith(userRole, userEmails);
expect(mockOnSuccess).toHaveBeenCalled();
});
});
Expand Down

0 comments on commit 24e9ca5

Please sign in to comment.