mirror of
https://github.com/cyanfish/naps2.git
synced 2024-11-20 16:06:29 +03:00
Fix warnings
This commit is contained in:
parent
fb5a0c9234
commit
21d5db8d04
@ -21,6 +21,7 @@
|
||||
<PackageReference Include="Polyfill" Version="4.9.0" PrivateAssets="all" />
|
||||
<PackageReference Include="StandardSocketsHttpHandler" Version="2.2.0.8" />
|
||||
<PackageReference Include="System.Net.Http" Version="4.3.4" />
|
||||
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
|
||||
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -10,7 +10,7 @@ using Xunit.Abstractions;
|
||||
namespace NAPS2.Sdk.Tests.Remoting;
|
||||
|
||||
public class FallbackScanServerTests(ITestOutputHelper testOutputHelper) : ScanServerTestsBase(testOutputHelper,
|
||||
EsclSecurityPolicy.None, new X509Certificate2(BinaryResources.testcert))
|
||||
EsclSecurityPolicy.None, X509CertificateLoader.LoadPkcs12(BinaryResources.testcert, null))
|
||||
{
|
||||
[Fact(Timeout = TIMEOUT)]
|
||||
public async Task ScanFallbackFromHttpsToHttp()
|
||||
|
@ -7,8 +7,8 @@ using Xunit.Abstractions;
|
||||
|
||||
namespace NAPS2.Sdk.Tests.Remoting;
|
||||
|
||||
public class ManualIpScanServerTests(ITestOutputHelper testOutputHelper)
|
||||
: ScanServerTestsBase(testOutputHelper, EsclSecurityPolicy.None, new X509Certificate2(BinaryResources.testcert))
|
||||
public class ManualIpScanServerTests(ITestOutputHelper testOutputHelper) : ScanServerTestsBase(testOutputHelper,
|
||||
EsclSecurityPolicy.None, X509CertificateLoader.LoadPkcs12(BinaryResources.testcert, null))
|
||||
{
|
||||
[Fact(Timeout = TIMEOUT)]
|
||||
public async Task ScanHttpIpv4()
|
||||
|
@ -10,7 +10,7 @@ using Xunit.Abstractions;
|
||||
namespace NAPS2.Sdk.Tests.Remoting;
|
||||
|
||||
public class TlsScanServerTests(ITestOutputHelper testOutputHelper) : ScanServerTestsBase(testOutputHelper,
|
||||
EsclSecurityPolicy.RequireHttps, new X509Certificate2(BinaryResources.testcert))
|
||||
EsclSecurityPolicy.RequireHttps, X509CertificateLoader.LoadPkcs12(BinaryResources.testcert, null))
|
||||
{
|
||||
[Fact(Timeout = TIMEOUT)]
|
||||
public async Task FindDevice()
|
||||
|
Loading…
Reference in New Issue
Block a user