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
+16 -12
View File
@@ -7,21 +7,25 @@ namespace Octokit
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Notification
{
public string Id { get; set; } // NB: API currently returns this as string which is Weird
public Repository Repository { get; set; }
public NotificationInfo Subject { get; set; }
public string Reason { get; set; }
public bool Unread { get; set; }
public string UpdatedAt { get; set; }
public string LastReadAt { get; set; }
public string Url { get; set; }
public string Id { get; protected set; } // NB: API currently returns this as string which is Weird
public Repository Repository { get; protected set; }
public NotificationInfo Subject { get; protected set; }
public string Reason { get; protected set; }
public bool Unread { get; protected set; }
public string UpdatedAt { get; protected set; }
public string LastReadAt { get; protected set; }
public string Url { get; protected set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Repository: {0} UpdatedAt: {1}", Repository, UpdatedAt);
}
get { return String.Format(CultureInfo.InvariantCulture, "Repository: {0} UpdatedAt: {1}", Repository, UpdatedAt); }
}
}
}