bugfix - the State value when searching for issues is case-sensitive

This commit is contained in:
Brendan Forster
2014-05-01 18:51:21 +08:00
parent df0f7ebda9
commit 03e14a5f14
3 changed files with 16 additions and 2 deletions
@@ -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);
}
}