Stop requesting ALL public gists

We don't need this in our integration tests.
This commit is contained in:
Haacked
2014-11-07 16:01:20 -08:00
parent 3b39d0d95a
commit 6be4c50e60
@@ -2,6 +2,7 @@
using System.Linq;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Helpers;
using Octokit.Tests.Integration;
using Xunit;
@@ -103,15 +104,8 @@ public class GistsClientTests
Assert.True(gists.Count > 0);
// Make sure we can successfully request gists for another user
Assert.DoesNotThrow(async () => { await _fixture.GetAllForUser("FakeHaacked"); });
Assert.DoesNotThrow(async () => { await _fixture.GetAllForUser("FakeHaacked", startTime); });
// Test public gists
var publicGists = await _fixture.GetAllPublic();
Assert.True(publicGists.Count > 1);
var publicGistsSinceStartTime = await _fixture.GetAllPublic(startTime);
Assert.True(publicGistsSinceStartTime.Count > 0);
await _fixture.GetAllForUser("FakeHaacked");
await _fixture.GetAllForUser("FakeHaacked", startTime);
// Test starred gists
await _fixture.Star(createdGist.Id);