mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 10:12:38 +00:00
Revert "removed GetAllPublic overload due to paging issue and parameters clobbering"
This reverts commit 26a8bf0e81.
This commit is contained in:
@@ -28,5 +28,22 @@ namespace Octokit.Tests.Integration
|
||||
Assert.False(repository2.Fork);
|
||||
}
|
||||
}
|
||||
|
||||
public class TheGetAllPublicSinceMethod
|
||||
{
|
||||
[IntegrationTest(Skip = "This will take a very long time to return, so will skip it for now.")]
|
||||
public async Task ReturnsAllPublicReposSinceLastSeen()
|
||||
{
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
|
||||
var client = new ObservableRepositoriesClient(github);
|
||||
var request = new PublicRepositoryRequest(32732250);
|
||||
var repositories = await client.GetAllPublic(request).ToArray();
|
||||
Assert.NotEmpty(repositories);
|
||||
Assert.Equal(32732252, repositories[0].Id);
|
||||
Assert.False(repositories[0].Private);
|
||||
Assert.Equal("zad19", repositories[0].Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user