Skip to content

Commit 4830972

Browse files
committed
fix tests
1 parent 42dce7a commit 4830972

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 2.0.1
22
- add net6.0 target and remove net6.0-windows target in libs
33
- get rid of singleproject/usemaui in csproj when possible
4+
- fix tests
45
- test : add again testrunner.net
56

67
## 2.0.0

SecureHttpClient.Test/CertificatePinnerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class CertificatePinnerTest : TestBase, IClassFixture<TestFixture>
1818

1919
private const string Hostname3 = @"ecc256.badssl.com";
2020
private const string Page3 = @"https://ecc256.badssl.com/";
21-
private static readonly string[] Pins3Ok = { @"sha256/swkREYaQfgevmiAHsB9iQGH4bsI9fPy2t3DOt2Trehk=" };
21+
private static readonly string[] Pins3Ok = { @"sha256/nwrzqrMDZtW9yckUHkur/uyXc0zhjuwVBZ5BUgkVF/g=" };
2222
private static readonly string[] Pins3Ko = { @"sha256/zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz=" };
2323

2424
public CertificatePinnerTest(TestFixture testFixture) : base(testFixture)

SecureHttpClient.Test/SslTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ public async Task SslTest_Sha256Certificate()
7979
await GetAsync(page);
8080
}
8181

82-
[Fact]
82+
[Fact(Skip = "Certificate has expired, badssl.com needs to fix it.")]
8383
public async Task SslTest_Sha384Certificate()
8484
{
8585
const string page = @"https://sha384.badssl.com/";
8686
await GetAsync(page);
8787
}
8888

89-
[Fact]
89+
[Fact(Skip = "Certificate has expired, badssl.com needs to fix it.")]
9090
public async Task SslTest_Sha512Certificate()
9191
{
9292
const string page = @"https://sha512.badssl.com/";

0 commit comments

Comments
 (0)