mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 18:13:21 +00:00
Merge pull request #691 from rms81/add-get-all-pub-repos
Fix for issue #686 List all public repositories
This commit is contained in:
@@ -548,6 +548,20 @@ public class RepositoriesClientTests
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class TheGetAllPublicMethod
|
||||
{
|
||||
[IntegrationTest(Skip = "Takes too long to run.")]
|
||||
public async Task ReturnsAllPublicRepositories()
|
||||
{
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
|
||||
var repositories = await github.Repository.GetAllPublic();
|
||||
|
||||
Assert.True(repositories.Count > 80);
|
||||
}
|
||||
}
|
||||
|
||||
public class TheGetAllForOrgMethod
|
||||
{
|
||||
[IntegrationTest]
|
||||
|
||||
Reference in New Issue
Block a user