diff --git a/tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs b/tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs index 4db2c263..bab86ef6 100644 --- a/tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs +++ b/tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs @@ -68,14 +68,14 @@ protected void ConfigureServices(IServiceCollection services) return onParseCommandsAsync.Invoke(context); }; - Func onBeforeLoadAsync = options.OnBeforeLoadAsync; + Func> onBeforeLoadAsync = options.OnBeforeLoadAsync; - options.OnBeforeLoadAsync = (context, decoderOptions) => + options.OnBeforeLoadAsync = (context, configuration) => { Assert.NotNull(context); - Assert.NotNull(decoderOptions); + Assert.NotNull(configuration); - return onBeforeLoadAsync.Invoke(context, decoderOptions); + return onBeforeLoadAsync.Invoke(context, configuration); }; Func onProcessedAsync = options.OnProcessedAsync;