mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 10:12:38 +00:00
Some integration tests have been rewritten according to @shiftkey remarks.
This commit is contained in:
@@ -37,22 +37,7 @@ namespace Octokit.Tests.Integration
|
||||
|
||||
var emails = await _emailClient.GetAll(options).ToList();
|
||||
|
||||
Assert.Equal(1, emails.Count);
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
public async Task ReturnsCorrectCountOfEmailsWithStart()
|
||||
{
|
||||
var options = new ApiOptions
|
||||
{
|
||||
PageSize = 5,
|
||||
PageCount = 1,
|
||||
StartPage = 2
|
||||
};
|
||||
|
||||
var emails = await _emailClient.GetAll(options).ToList();
|
||||
|
||||
Assert.Equal(0, emails.Count);
|
||||
Assert.NotEmpty(emails);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user