mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
extract helper method for setting up GitHubClient
This commit is contained in:
@@ -10,10 +10,7 @@ public class SearchClientTests
|
||||
|
||||
public SearchClientTests()
|
||||
{
|
||||
_gitHubClient = new GitHubClient(new ProductHeaderValue("OctokitTests"))
|
||||
{
|
||||
Credentials = Helper.Credentials
|
||||
};
|
||||
_gitHubClient = Helper.GetAuthenticatedClient();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user