Skip to content

Commit 6071b4e

Browse files
Update TestServerFixture.cs
1 parent a6ea3c8 commit 6071b4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ protected void ConfigureServices(IServiceCollection services)
6868
return onParseCommandsAsync.Invoke(context);
6969
};
7070

71-
Func<ImageCommandContext, DecoderOptions, Task> onBeforeLoadAsync = options.OnBeforeLoadAsync;
71+
Func<ImageCommandContext, Configuration, Task<DecoderOptions?>> onBeforeLoadAsync = options.OnBeforeLoadAsync;
7272

73-
options.OnBeforeLoadAsync = (context, decoderOptions) =>
73+
options.OnBeforeLoadAsync = (context, configuration) =>
7474
{
7575
Assert.NotNull(context);
76-
Assert.NotNull(decoderOptions);
76+
Assert.NotNull(configuration);
7777

78-
return onBeforeLoadAsync.Invoke(context, decoderOptions);
78+
return onBeforeLoadAsync.Invoke(context, configuration);
7979
};
8080

8181
Func<ImageProcessingContext, Task> onProcessedAsync = options.OnProcessedAsync;

0 commit comments

Comments
 (0)