File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -5917,10 +5917,10 @@ public async Task TestWhitelabelLinksLinkIdSubuserPost()
5917
5917
}
5918
5918
5919
5919
[ Theory ]
5920
- [ InlineData ( 200 , "OK" ) ]
5921
- [ InlineData ( 301 , "Moved permanently" ) ]
5922
- [ InlineData ( 401 , "Unauthorized" ) ]
5923
- [ InlineData ( 503 , "Service unavailable" ) ]
5920
+ [ InlineData ( HttpStatusCode . OK , "OK" ) ]
5921
+ [ InlineData ( HttpStatusCode . MovedPermanently , "Moved permanently" ) ]
5922
+ [ InlineData ( HttpStatusCode . Unauthorized , "Unauthorized" ) ]
5923
+ [ InlineData ( HttpStatusCode . ServiceUnavailable , "Service unavailable" ) ]
5924
5924
public async Task TestTakesHttpClientFactoryAsConstructorArgumentAndUsesItInHttpCalls ( HttpStatusCode httpStatusCode , string message )
5925
5925
{
5926
5926
var httpResponse = String . Format ( "<xml><result>{0}</result></xml>" , message ) ;
Original file line number Diff line number Diff line change 16
16
</ItemGroup >
17
17
18
18
<ItemGroup >
19
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.0.0" />
20
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
21
- <PackageReference Include =" xunit" Version =" 2.2.0" />
19
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.8.0" />
20
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.0" >
21
+ <PrivateAssets >all</PrivateAssets >
22
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
23
+ </PackageReference >
24
+ <PackageReference Include =" xunit" Version =" 2.4.0" />
22
25
<PackageReference Include =" System.Diagnostics.TraceSource" Version =" 4.3.0" />
23
26
<PackageReference Include =" system.diagnostics.textwritertracelistener" Version =" 4.3.0" />
24
27
<PackageReference Include =" System.Diagnostics.Process" Version =" 4.3.0" />
You can’t perform that action at this time.
0 commit comments