mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 19:11:30 +00:00
Some tests have been rewritten according to @shiftkey remarks.
This commit is contained in:
@@ -39,24 +39,9 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
var emails = await _emailClient.GetAll(options);
|
||||
|
||||
Assert.Equal(1, emails.Count);
|
||||
Assert.NotEmpty(emails);
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
public async Task ReturnsCorrectCountOfEmailsWithStart()
|
||||
{
|
||||
var options = new ApiOptions
|
||||
{
|
||||
PageSize = 5,
|
||||
PageCount = 1,
|
||||
StartPage = 2
|
||||
};
|
||||
|
||||
var emails = await _emailClient.GetAll(options);
|
||||
|
||||
Assert.Equal(0, emails.Count);
|
||||
}
|
||||
|
||||
|
||||
const string testEmailAddress = "hahaha-not-a-real-email@foo.com";
|
||||
|
||||
[IntegrationTest(Skip = "this isn't passing in CI - i hate past me right now")]
|
||||
|
||||
Reference in New Issue
Block a user