mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Updated the enum ItemState with deprecating the ItemState.All and making the necessary changes
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Octokit.Tests.Integration
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
|
||||
var client = new ObservableMilestonesClient(github);
|
||||
var milestones = await client.GetAllForRepository("libgit2", "libgit2sharp", new MilestoneRequest { State = ItemState.Closed }).ToList();
|
||||
var milestones = await client.GetAllForRepository("libgit2", "libgit2sharp", new MilestoneRequest { State = ItemStateFilter.Closed }).ToList();
|
||||
|
||||
Assert.NotEmpty(milestones);
|
||||
Assert.True(milestones.All(m => m.State == ItemState.Closed));
|
||||
|
||||
Reference in New Issue
Block a user