Some integration tests have been rewritten according to @shiftkey remarks.

This commit is contained in:
aedampir@gmail.com
2016-03-16 13:08:57 +07:00
parent 632dd6218b
commit fdcd0f95ec
@@ -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);
}
}
}