compare reaction respone fields

This commit is contained in:
maddin2016
2016-05-27 08:17:03 +02:00
parent 9139562269
commit 14bbf8c728
@@ -421,6 +421,10 @@ public class RepositoryCommentsClientTests
var reaction = await _github.Repository.Comment.CreateReaction(_context.RepositoryOwner, _context.RepositoryName, result.Id, newCommitCommentReaction);
Assert.IsType<CommitCommentReaction>(reaction);
Assert.Equal(Reaction.Confused, reaction.Content);
Assert.Equal(result.User.Id, reaction.UserId);
}
public void Dispose()