Octokit.Tests.Integration\Clients

This commit is contained in:
Mordechai Zuber
2015-05-19 09:54:08 +03:00
parent ea90328332
commit d83a4bbcbc
7 changed files with 23 additions and 29 deletions

View File

@@ -243,8 +243,8 @@ public class IssuesClientTests : IDisposable
{
var owner = _repository.Owner.Login;
await AssertEx.Throws<ApiValidationException>(
async () => await _issuesClient.GetAllForRepository(owner, _repository.Name,
await Assert.ThrowsAsync<ApiValidationException>(
() => _issuesClient.GetAllForRepository(owner, _repository.Name,
new RepositoryIssueRequest { Assignee = "some-random-account" }));
}