Skip to content
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

Get Multiple Users, Side-Loading and Int-Long fixes. #173

Merged
merged 2 commits into from
Oct 1, 2015

Conversation

mattnis
Copy link
Contributor

@mattnis mattnis commented Sep 30, 2015

Implement MergeUser/Async
Implement GetMultipleUsers/Async
Implement Side-Loading for GetAllUsers and GetMulipleUsers
Change SearchResult.Id from int to long
Change UserIdentity.UserId from int to long
Implemented UpdateUserIdentity, but in documentation it uses the same endpoint as AddUserIdentity

Unit Tests.

Implement MergeUser/Async
Implement GetMultipleUsers/Async
Implement Side-Loading for GetAllUsers and GetMulipleUsers
Change SearchResult.Id from int to long
Change UserIdentity.UserId from int to long
Implemented UpdateUserIdentity, but in documentation it uses the same endpoint as AddUserIdentity

Unit Tests.
var resultUser2 = api.Users.CreateUser(user2);

var mergedUser = api.Users.MergeUser(resultUser1.User.Id.Value, resultUser2.User.Id.Value);
Thread.Sleep(2000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to be an async test and remove the thread.Sleep

This will make it more stable

http://simoneb.github.io/blog/2013/01/19/async-support-in-nunit/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and committed/pushed.

mozts2005 added a commit that referenced this pull request Oct 1, 2015
Closes #163, #170, #164 #162 , Get Multiple Users, Side-Loading and Int-Long fixes.
@mozts2005 mozts2005 merged commit 63e73d7 into Speedygeek:master Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants