Skip to content

Commit 21e57d7

Browse files
committed
tests cleanup
1 parent 79518b1 commit 21e57d7

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

SecureHttpClient.Test/HttpTest.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public async Task HttpTest_StreamBytes()
215215
}
216216

217217
[Fact]
218-
public async Task HttpTest_SetCookie()
218+
public async Task HttpTest_Cookies_SetCookie()
219219
{
220220
const string page = @"https://httpbingo.org/cookies/set?k1=v1";
221221
var result = await GetAsync(page).ReceiveString();
@@ -225,7 +225,7 @@ public async Task HttpTest_SetCookie()
225225
}
226226

227227
[Fact]
228-
public async Task HttpTest_SetCookieAgain()
228+
public async Task HttpTest_Cookies_SetCookieAgain()
229229
{
230230
const string page1 = @"https://httpbingo.org/cookies/set?k1=v1";
231231
await GetAsync(page1);
@@ -237,7 +237,7 @@ public async Task HttpTest_SetCookieAgain()
237237
}
238238

239239
[Fact]
240-
public async Task HttpTest_SetCookies()
240+
public async Task HttpTest_Cookies_SetCookies()
241241
{
242242
const string cookie1 = "k1=v1; Path=/; expires=Sat, 01-Jan-2050 00:00:00 GMT";
243243
const string cookie2 = "k2=v2; Path=/; expires=Fri, 01-Jan-2049 00:00:00 GMT";
@@ -254,7 +254,7 @@ public async Task HttpTest_SetCookies()
254254
}
255255

256256
[Fact]
257-
public async Task HttpTest_DeleteCookie()
257+
public async Task HttpTest_Cookies_DeleteCookie()
258258
{
259259
const string page1 = @"https://httpbingo.org/cookies/set?k1=v1";
260260
await GetAsync(page1);
@@ -266,7 +266,7 @@ public async Task HttpTest_DeleteCookie()
266266
}
267267

268268
[Fact]
269-
public async Task HttpTest_DoNotUseCookies()
269+
public async Task HttpTest_Cookies_DoNotUseCookies()
270270
{
271271
const string page = @"https://httpbingo.org/cookies/set?k1=v1";
272272
DisableCookies();

SecureHttpClient.Test/SslTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ public async Task SslTest_OnlyTrustSpecificRootCertificate()
6363
await AssertExtensions.ThrowsTrustFailureAsync(() => GetAsync(page));
6464
}
6565

66-
[SkippableFact]
66+
[Fact(Skip = "Mobile apps usually skip revocation checks")]
6767
public async Task SslTest_RevokedCertificate()
6868
{
69-
Skip.IfNot(DeviceInfo.Platform == DevicePlatform.iOS, "Unsupported on Android and .Net");
70-
7169
const string page = @"https://revoked.badssl.com/";
7270
await AssertExtensions.ThrowsTrustFailureAsync(() => GetAsync(page));
7371
}

0 commit comments

Comments
 (0)