Minor changes

This commit is contained in:
Boris Milašinović
2026-04-29 15:21:17 +02:00
parent d06433e2f6
commit b849c6feb6
14 changed files with 90 additions and 81 deletions

View File

@@ -71,7 +71,7 @@ public class SportsControllerShould
new Sport { Id = 3, Name = "Cycling" });
await ctx.SaveChangesAsync();
var optionsMock = new Mock<IOptions<PagingSettings>>();
var optionsMock = new Mock<IOptionsSnapshot<PagingSettings>>();
optionsMock
.SetupGet(options => options.Value)
.Returns(new PagingSettings { PageSize = 2 });