mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-27 08:32:04 +00:00
corrected this test to be 1-based (and trigger null)
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Octokit.Tests.Models
|
||||
|
||||
connection.Get<List<object>>(nextPageUrl, null, null).Returns(nextPageResponse);
|
||||
|
||||
var pageCount = 0;
|
||||
var pageCount = 1;
|
||||
|
||||
var pagedCollection = new ReadOnlyPagedCollection<object>(
|
||||
response,
|
||||
@@ -95,7 +95,7 @@ namespace Octokit.Tests.Models
|
||||
var second = await pagedCollection.GetNextPage();
|
||||
|
||||
Assert.NotNull(first);
|
||||
Assert.NotNull(second);
|
||||
Assert.Null(second);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user