fix unit tests for reaction clients

This commit is contained in:
maddin2016
2016-06-01 12:08:47 +02:00
parent 2ebe0eed89
commit 1a974e0a25
8 changed files with 12 additions and 12 deletions
@@ -35,7 +35,7 @@ namespace Octokit.Tests.Reactive
Assert.Throws<ArgumentException>(() => _client.PullRequestReviewComment.Create("", "name", 1, new NewReaction(ReactionType.Heart)));
Assert.Throws<ArgumentNullException>(() => _client.PullRequestReviewComment.Create("owner", null, 1, new NewReaction(ReactionType.Heart)));
Assert.Throws<ArgumentException>(() => _client.PullRequestReviewComment.Create("owner", "", 1, new NewReaction(ReactionType.Heart)));
Assert.Throws<ArgumentException>(() => _client.PullRequestReviewComment.Create("owner", "name", 1, null));
Assert.Throws<ArgumentNullException>(() => _client.PullRequestReviewComment.Create("owner", "name", 1, null));
}
}