mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
autofix tests based on feedback from xunit analyzers (#1997)
This commit is contained in:
@@ -109,11 +109,11 @@ public class GistsClientTests
|
||||
var starredGists = await _fixture.GetAllStarred();
|
||||
|
||||
Assert.NotNull(starredGists);
|
||||
Assert.True(starredGists.Any(x => x.Id == createdGist.Id));
|
||||
Assert.Contains(starredGists, x => x.Id == createdGist.Id);
|
||||
|
||||
var starredGistsSinceStartTime = await _fixture.GetAllStarred(startTime);
|
||||
Assert.NotNull(starredGistsSinceStartTime);
|
||||
Assert.True(starredGistsSinceStartTime.Any(x => x.Id == createdGist.Id));
|
||||
Assert.Contains(starredGistsSinceStartTime, x => x.Id == createdGist.Id);
|
||||
|
||||
await _fixture.Delete(createdGist.Id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user