mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 21:55:12 +00:00
Fixed ReturnsAllIssuesForOwnedAndMemberRepositories, the issue needed to be assigned to the user
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user