mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 19:00:47 +00:00
extract helper method for setting up GitHubClient
This commit is contained in:
@@ -15,10 +15,7 @@ public class RepositoryDeployKeysClientTests : IDisposable
|
||||
|
||||
public RepositoryDeployKeysClientTests()
|
||||
{
|
||||
_client = new GitHubClient(new ProductHeaderValue("OctokitTests"))
|
||||
{
|
||||
Credentials = Helper.Credentials
|
||||
};
|
||||
_client = Helper.GetAuthenticatedClient();
|
||||
|
||||
var repoName = Helper.MakeNameWithTimestamp("public-repo");
|
||||
_fixture = _client.Repository.DeployKeys;
|
||||
|
||||
Reference in New Issue
Block a user