Integration tests :polish:

This commit is contained in:
Henrik Andersson
2016-06-15 17:07:41 +10:00
parent b38ca031ef
commit b17bbfaf2c
2 changed files with 4 additions and 4 deletions
@@ -22,7 +22,7 @@ public class IssueCommentsClientTests
{
var comments = await _issueCommentsClient.GetAllForRepository("alfhenrik-test", "repo-with-issue-comment-reactions");
Assert.True(comments.Count > 0);
Assert.NotEmpty(comments);
var comment = comments[0];
Assert.NotNull(comment.Reactions);
Assert.Equal(3, comment.Reactions.TotalCount);
@@ -39,7 +39,7 @@ public class IssueCommentsClientTests
{
var comments = await _issueCommentsClient.GetAllForIssue("alfhenrik-test", "repo-with-issue-comment-reactions", 1);
Assert.True(comments.Count > 0);
Assert.NotEmpty(comments);
var comment = comments[0];
Assert.NotNull(comment.Reactions);
Assert.Equal(3, comment.Reactions.TotalCount);
@@ -93,7 +93,7 @@ namespace Octokit.Tests.Integration.Reactive
{
var comments = await _issueCommentsClient.GetAllForRepository("alfhenrik-test", "repo-with-issue-comment-reactions").ToList();
Assert.True(comments.Count > 0);
Assert.NotEmpty(comments);
var comment = comments[0];
Assert.NotNull(comment.Reactions);
Assert.Equal(3, comment.Reactions.TotalCount);
@@ -110,7 +110,7 @@ namespace Octokit.Tests.Integration.Reactive
{
var comments = await _issueCommentsClient.GetAllForIssue("alfhenrik-test", "repo-with-issue-comment-reactions", 1).ToList();
Assert.True(comments.Count > 0);
Assert.NotEmpty(comments);
var comment = comments[0];
Assert.NotNull(comment.Reactions);
Assert.Equal(3, comment.Reactions.TotalCount);