mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-12 06:00:38 +00:00
bugfix - the State value when searching for issues is case-sensitive
This commit is contained in:
@@ -54,4 +54,16 @@ public class SearchClientTests
|
||||
|
||||
Assert.NotEmpty(repos.Items);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task SearchForOpenIssues()
|
||||
{
|
||||
var request = new SearchIssuesRequest("phone");
|
||||
request.Repo = "caliburn-micro/caliburn.micro";
|
||||
request.State = ItemState.Open;
|
||||
|
||||
var repos = await _gitHubClient.Search.SearchIssues(request);
|
||||
|
||||
Assert.NotEmpty(repos.Items);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user