Fix for issue #738

Added Unsubscribed value to the EventInfoState enumeration
This commit is contained in:
Darren Camp
2015-03-12 08:37:22 +08:00
parent 529916a020
commit c6812d1c41
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -89,5 +89,6 @@ public class IssueEventTests
var issueEvent = serializer.Deserialize<IssueEvent>(json);
Assert.NotNull(issueEvent);
Assert.Equal(EventInfoState.Unsubscribed, issueEvent.Event);
}
}
+5
View File
@@ -162,5 +162,10 @@ namespace Octokit
/// The pull requests branch was restored.
/// </summary>
HeadRefRestored,
/// <summary>
/// The actor unsubscribed from notifications for an issue.
/// </summary>
Unsubscribed,
}
}