Fixed ReturnsAllIssuesForOwnedAndMemberRepositories, the issue needed to be assigned to the user

This commit is contained in:
Gabriel Weyer
2014-05-17 16:31:14 +10:00
parent 8a40f4fa1e
commit 5dbb9c1c92

View File

@@ -54,10 +54,10 @@ public class ObservableIssuesClientTests : IDisposable
Assert.NotEmpty(issues); Assert.NotEmpty(issues);
} }
[IntegrationTest(Skip = "See https://github.com/octokit/octokit.net/issues/222 for an explanation of the issue")] [IntegrationTest]
public async Task ReturnsAllIssuesForOwnedAndMemberRepositories() public async Task ReturnsAllIssuesForOwnedAndMemberRepositories()
{ {
var newIssue = new NewIssue("Integration test issue"); var newIssue = new NewIssue("Integration test issue") { Assignee = _createdRepository.Owner.Login };
await _client.Create(_createdRepository.Owner.Login, _repoName, newIssue); await _client.Create(_createdRepository.Owner.Login, _repoName, newIssue);
var result = await _client.GetAllForOwnedAndMemberRepositories().ToList(); var result = await _client.GetAllForOwnedAndMemberRepositories().ToList();