public async Task CanDeserializeIssueCommentWhenGettingAllForRepository() { var comments = await _issueCommentsClient.GetAllForRepository("alfhenrik-test", "repo-with-issue-comment-reactions"); Assert.NotEmpty(comments); var comment = comments[0]; Assert.NotNull(comment.Reactions); Assert.Equal(3, comment.Reactions.TotalCount); Assert.Equal(1, comment.Reactions.Plus1); Assert.Equal(1, comment.Reactions.Hooray); Assert.Equal(1, comment.Reactions.Heart); Assert.Equal(0, comment.Reactions.Laugh); Assert.Equal(0, comment.Reactions.Confused); Assert.Equal(0, comment.Reactions.Minus1); }
public async Task ReturnsIssueComments() { var issueComments = await _issueCommentsClient.GetAllForRepository(owner, name); Assert.NotEmpty(issueComments); }