mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Corrected TheUpdateMethod.EnsureArgumentsNotNull()
This commit is contained in:
+2
-2
@@ -14,10 +14,10 @@ namespace Octokit.Tests.Integration
|
||||
|
||||
readonly string _testUser = "test-user";
|
||||
readonly string _distinguishedNameUser = "uid=test-user,ou=users,dc=company,dc=com";
|
||||
|
||||
|
||||
readonly EnterpriseTeamContext _context;
|
||||
readonly string _distinguishedNameTeam = "cn=test-team,ou=groups,dc=company,dc=com";
|
||||
|
||||
|
||||
public ObservableEnterpriseLdapClientTests()
|
||||
{
|
||||
_github = new ObservableGitHubClient(EnterpriseHelper.GetAuthenticatedClient());
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace Octokit.Tests.Integration.Clients
|
||||
// Create a key
|
||||
string keyTitle = "title";
|
||||
string keyData = "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAjo4DqFKg8dOxiz/yjypmN1A4itU5QOStyYrfOFuTinesU/2zm9hqxJ5BctIhgtSHJ5foxkhsiBji0qrUg73Q25BThgNg8YFE8njr4EwjmqSqW13akx/zLV0GFFU0SdJ2F6rBldhi93lMnl0ex9swBqa3eLTY8C+HQGBI6MQUMw+BKp0oFkz87Kv+Pfp6lt/Uo32ejSxML1PT5hTH5n+fyl0ied+sRmPGZWmWoHB5Bc9mox7lB6I6A/ZgjtBqbEEn4HQ2/6vp4ojKfSgA4Mm7XMu0bZzX0itKjH1QWD9Lr5apV1cmZsj49Xf8SHucTtH+bq98hb8OOXEGFzplwsX2MQ==";
|
||||
|
||||
|
||||
var observable = _github.User.Keys.Create(new NewPublicKey(keyTitle, keyData));
|
||||
var key = await observable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user