Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
medevod committed May 2, 2023
1 parent 4f70226 commit 4d802c5
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1194,14 +1194,6 @@ public async Task Should_Get_Paged_Entities()
{
page = await personClient.GetPagedAsync(nextPageToken: page.ContinuationToken);

if (page.isLastPage)
{
page.Entities.Count().Should().BeLessThanOrEqualTo(10);
}
else
{
page.Entities.Count().Should().Be(10);
}
entityCount += page.Entities.Count();
}
while (!page.isLastPage);
Expand All @@ -1223,7 +1215,7 @@ public async Task Should_Get_Paged_Entities()
[TestMethod]
public async Task Should_Get_Paged_Entities_With_Custom_Max_Per_Page(params int[] inputs)
{
int totalCount = inputs[0];
int totalCount = inputs[0];
int maxPerPage = inputs[1];

var persons = Fakers.CreateFakePerson().Generate(totalCount);
Expand Down

0 comments on commit 4d802c5

Please sign in to comment.