Fixed failing tests

This commit is contained in:
Kristian Hellang
2015-01-06 00:19:21 +01:00
parent 535bad2dac
commit 21ca33817d
44 changed files with 501 additions and 395 deletions
+21 -9
View File
@@ -7,32 +7,44 @@ namespace Octokit
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class SshKey
{
public SshKey()
{
}
public SshKey(string key)
{
Key = key;
}
public SshKey(string key, string title)
{
Key = key;
Title = title;
}
/// <summary>
/// The system-wide unique Id for this user.
/// </summary>
public int Id { get; set; }
public int Id { get; protected set; }
/// <summary>
/// The SSH Key
/// </summary>
public string Key { get; set; }
public string Key { get; protected set; }
/// <summary>
/// The title of the SSH key
/// </summary>
public string Title { get; set; }
public string Title { get; protected set; }
/// <summary>
/// The api URL for this organization.
/// </summary>
public string Url { get; set; }
public string Url { get; protected set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Title: {0} ", Title);
}
get { return String.Format(CultureInfo.InvariantCulture, "Title: {0} ", Title); }
}
}
}
}