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

Add since parameter for public repositories #774

Merged
merged 4 commits into from
Apr 12, 2015

Conversation

hnrkndrssn
Copy link
Contributor

Fixes #686 part deux

@hnrkndrssn
Copy link
Contributor Author

This is ready for review

cc @shiftkey


public class TheGetAllPublicSinceMethod
{
[IntegrationTest]
Copy link
Member

Choose a reason for hiding this comment

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

I think this test is going to run forever, but I'll mute this as part of preparing the next release

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, yes it most likely will 😄 but when I created the test, it ran for a few seconds, so I can at least say I tested the feature 😬

I'll mute it when I do the fix for the comment below.

@shiftkey
Copy link
Member

Looks good, just a couple of minor things.

@hnrkndrssn
Copy link
Contributor Author

Test updated and muted

gitHubClient.Connection.Get<List<Repository>>(secondPageUrl, null, null)
.Returns(Task.Factory.StartNew<IApiResponse<List<Repository>>>(() => secondPageResponse));
gitHubClient.Connection.Get<List<Repository>>(thirdPageUrl, null, null)
.Returns(Task.Factory.StartNew<IApiResponse<List<Repository>>>(() => lastPageResponse));
Copy link
Member

Choose a reason for hiding this comment

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

💄 Task.FromResult here there and everywhere?

@shiftkey
Copy link
Member

shiftkey commented Apr 6, 2015

A couple of questions 🐶

Adding 💄 `Task.FromResult` to tests
@hnrkndrssn
Copy link
Contributor Author

Questions answered ✊ ✌️

@shiftkey
Copy link
Member

Thanks!

shiftkey added a commit that referenced this pull request Apr 12, 2015
Add `since` parameter for public repositories
@shiftkey shiftkey merged commit 518ae12 into octokit:master Apr 12, 2015
@shiftkey shiftkey mentioned this pull request Apr 22, 2015
2 tasks
@hnrkndrssn hnrkndrssn deleted the getallpublicrepos-since branch September 18, 2015 11:16
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.

List all public repositories
2 participants