mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 14:15:12 +00:00
extract helper method for setting up GitHubClient
This commit is contained in:
@@ -14,10 +14,7 @@ public class ObservableIssuesClientTests : IDisposable
|
||||
|
||||
public ObservableIssuesClientTests()
|
||||
{
|
||||
var github = new GitHubClient(new ProductHeaderValue("OctokitTests"))
|
||||
{
|
||||
Credentials = Helper.Credentials
|
||||
};
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
|
||||
_client = new ObservableIssuesClient(github);
|
||||
_repoName = Helper.MakeNameWithTimestamp("public-repo");
|
||||
|
||||
Reference in New Issue
Block a user