mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
updated SearchIssues to match correct response shape
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user