Skip to content

Commit 3b2ae74

Browse files
committed
Fix test action: -> handler:
1 parent 72c939e commit 3b2ae74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Http.Extensions/test/RequestDelegateFactoryTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ public void BuildRequestDelegateThrowsArgumentNullExceptions()
185185

186186
var serviceProvider = new EmptyServiceProvider();
187187

188-
var exNullAction = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(action: null!));
188+
var exNullAction = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(handler: null!));
189189
var exNullMethodInfo1 = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(methodInfo: null!));
190190

191-
Assert.Equal("action", exNullAction.ParamName);
191+
Assert.Equal("handler", exNullAction.ParamName);
192192
Assert.Equal("methodInfo", exNullMethodInfo1.ParamName);
193193
}
194194

0 commit comments

Comments
 (0)