mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
extract helper method for setting up GitHubClient
This commit is contained in:
@@ -12,10 +12,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
public StatisticsClientTests()
|
||||
{
|
||||
_client = new GitHubClient(new ProductHeaderValue("OctokitTests"))
|
||||
{
|
||||
Credentials = Helper.Credentials
|
||||
};
|
||||
_client = Helper.GetAuthenticatedClient();
|
||||
|
||||
_fixture = _client.GitDatabase.Commit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user