We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2b4a8 commit a9eb4b3Copy full SHA for a9eb4b3
src/Kontur.Extern.Api.Client.End2EndTests/Client/HandbooksPathExtensions_Tests.cs
@@ -222,7 +222,7 @@ public async Task Should_return_handbooks(HandbookType handbookType)
222
223
var handbook = await Context.Handbooks.GetHandbook(handbookType, handbookFilter);
224
handbook.HandbookType.Should().Be(handbookType);
225
- handbook.Take.Should().Be(25);
+ handbook.Take.Should().Be(handbook.TotalCount < 25 ? handbook.TotalCount : 25);
226
}
227
228
public static IEnumerable<object[]> GetAllHandbookTypes()
0 commit comments