-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
This is ready for review cc @shiftkey |
|
||
public class TheGetAllPublicSinceMethod | ||
{ | ||
[IntegrationTest] |
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.
I think this test is going to run forever, but I'll mute this as part of preparing the next release
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.
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.
Looks good, just a couple of minor things. |
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)); |
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.
💄 Task.FromResult
here there and everywhere?
A couple of questions 🐶 |
Adding 💄 `Task.FromResult` to tests
Questions answered ✊ ✌️ |
Thanks! |
Add `since` parameter for public repositories
Fixes #686 part deux