updated SearchIssues to match correct response shape

This commit is contained in:
Brendan Forster
2014-03-05 22:58:52 +11:00
parent b64527ec92
commit 7da2cd04ac
12 changed files with 90 additions and 58 deletions
@@ -42,4 +42,16 @@ public class SearchClientTests
Assert.NotEmpty(repos.Items);
}
[Fact]
public async Task SearchForWordInCode()
{
var request = new SearchIssuesRequest("windows");
request.SortField = IssueSearchSort.Created;
request.Order = SortDirection.Descending;
var repos = await _gitHubClient.Search.SearchIssues(request);
Assert.NotEmpty(repos.Items);
}
}