autofix tests based on feedback from xunit analyzers (#1997)

This commit is contained in:
Brendan Forster
2019-09-16 19:46:40 -03:00
committed by GitHub
parent 61bd1d1018
commit 45bc5eced7
50 changed files with 222 additions and 232 deletions
@@ -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);
}