-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add paged version of getTeamMembers (#176)
* Add paged version of getTeamMembers * Add test case for paged team client
- Loading branch information
1 parent
d4a0d3c
commit f1c654e
Showing
4 changed files
with
100 additions
and
4 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
22 changes: 22 additions & 0 deletions
22
src/test/resources/com/spotify/github/v3/clients/list_members_page1.json
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"login": "octocat", | ||
"id": 1, | ||
"node_id": "MDQ6VXNlcjE=", | ||
"avatar_url": "https://github.com/images/error/octocat_happy.gif", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/octocat", | ||
"html_url": "https://github.com/octocat", | ||
"followers_url": "https://api.github.com/users/octocat/followers", | ||
"following_url": "https://api.github.com/users/octocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/octocat/orgs", | ||
"repos_url": "https://api.github.com/users/octocat/repos", | ||
"events_url": "https://api.github.com/users/octocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/octocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
} | ||
] |
22 changes: 22 additions & 0 deletions
22
src/test/resources/com/spotify/github/v3/clients/list_members_page2.json
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"login": "octocat2", | ||
"id": 2, | ||
"node_id": "MDQ2VXNlcjE=", | ||
"avatar_url": "https://github.com/images/error/octocat2_happy.gif", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/octocat2", | ||
"html_url": "https://github.com/octocat2", | ||
"followers_url": "https://api.github.com/users/octocat2/followers", | ||
"following_url": "https://api.github.com/users/octoca2t/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/octocat2/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/octocat2/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/octocat2/subscriptions", | ||
"organizations_url": "https://api.github.com/users/octocat2/orgs", | ||
"repos_url": "https://api.github.com/users/octocat2/repos", | ||
"events_url": "https://api.github.com/users/octocat2/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/octocat2/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
} | ||
] |