File tree 3 files changed +4
-10
lines changed 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 6.0.100-rc.1.21373.1 " ,
3
+ "version" : " 6.0.100-rc.1.21374.7 " ,
4
4
"allowPrerelease" : false ,
5
5
"rollForward" : " latestMajor"
6
6
}
Original file line number Diff line number Diff line change 8
8
<FrameworkReference Include =" Microsoft.AspNetCore.App" />
9
9
<PackageReference Include =" JustEat.HttpClientInterception" Version =" 3.1.0" />
10
10
<PackageReference Include =" MartinCostello.Logging.XUnit" Version =" 0.1.2" />
11
- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 6.0.0-rc.1.21373.1 " />
11
+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 6.0.0-rc.1.21374.5 " />
12
12
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.10.0" />
13
13
<PackageReference Include =" Microsoft.Playwright" Version =" 1.13.0" />
14
14
<PackageReference Include =" Shouldly" Version =" 4.0.3" />
Original file line number Diff line number Diff line change @@ -61,24 +61,18 @@ protected override void ConfigureWebHost(IWebHostBuilder builder)
61
61
builder . Sources . Clear ( ) ;
62
62
63
63
builder . AddJsonFile ( fullPath )
64
- . AddInMemoryCollection ( config ) ;
64
+ . AddInMemoryCollection ( config ) ;
65
65
} ) ;
66
66
67
67
builder . ConfigureLogging ( ( loggingBuilder ) => loggingBuilder . ClearProviders ( ) . AddXUnit ( this ) )
68
- . UseSolutionRelativeContentRoot ( Path . Combine ( "src" , "TodoApp" ) ) ;
68
+ . UseSolutionRelativeContentRoot ( Path . Combine ( "src" , "TodoApp" ) ) ;
69
69
70
70
builder . ConfigureServices ( ( services ) =>
71
71
{
72
72
services . AddSingleton < IHttpMessageHandlerBuilderFilter , HttpRequestInterceptionFilter > (
73
73
( _ ) => new HttpRequestInterceptionFilter ( Interceptor ) ) ;
74
74
75
75
services . AddSingleton < IPostConfigureOptions < GitHubAuthenticationOptions > , RemoteAuthorizationEventsFilter > ( ) ;
76
-
77
- // HACK Remove the IConfiguration that WebApplication(Builder) adds that
78
- // does not reflect the changes applied by ConfigureAppConfiguration() above.
79
- // See https://github.com/dotnet/aspnetcore/issues/33876.
80
- var configs = services . Where ( ( p ) => p . ServiceType == typeof ( IConfiguration ) ) . ToList ( ) ;
81
- services . Remove ( configs [ 1 ] ) ;
82
76
} ) ;
83
77
84
78
Interceptor . RegisterBundle ( "oauth-http-bundle.json" ) ;
You can’t perform that action at this time.
0 commit comments