Updated Builder constructors
This commit is contained in:
parent
e2f45c59ea
commit
86025a3ec4
|
|
@ -16,7 +16,7 @@ namespace Owin
|
|||
{
|
||||
public static IAppBuilder UseBuilder(this IAppBuilder appBuilder, Action<IBuilder> configuration)
|
||||
{
|
||||
IBuilder builder = new Builder();
|
||||
IBuilder builder = new Builder(null);
|
||||
configuration(builder);
|
||||
Func<AppFunc,AppFunc> middleware1 = next1 => {
|
||||
Func<RequestDelegate,RequestDelegate> middleware2 = next2 => {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Microsoft.AspNet.PipelineCore.Tests
|
|||
[Fact]
|
||||
public void BuildReturnsCallableDelegate()
|
||||
{
|
||||
var builder = new Builder();
|
||||
var builder = new Builder(null);
|
||||
var app = builder.Build();
|
||||
|
||||
var mockHttpContext = new Moq.Mock<HttpContext>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue