-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating client user if it user.updated event is received for that user #132
Conversation
433f192
to
acb8eb5
Compare
test/test.js
Outdated
|
||
it('should update client user', async () => { | ||
await serverAuthClient.updateUser({ | ||
id: 'thierry2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to generate a unique user ID (thierry2 is an admin)
Remember that your own user has more fields than the user events you
receive from the user updated event
…On Fri, Oct 4, 2019, 08:05 Marcelo Pires ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/test.js
<#132 (comment)>
:
> @@ -114,6 +114,36 @@ describe('Chat', function() {
});
});
});
+
+ it('should update client user', async () => {
+ await serverAuthClient.updateUser({
+ id: 'thierry2',
better to generate a unique user ID (thierry2 is an admin)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#132?email_source=notifications&email_token=AACAZQON66QG4SABAHD7SSTQM5ERRA5CNFSM4I4XYBE2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCG5XEXI#pullrequestreview-297497181>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACAZQLNITGVSLUOL2W4JPTQM5ERRANCNFSM4I4XYBEQ>
.
|
@tschellenbach |
@tschellenbach fixed :) |
Submit a pull request
CLA
Description of the pull request
#133