Skip to content

Commit cca0dd9

Browse files
committed
.
1 parent d76388f commit cca0dd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Microsoft.OpenApi.SmokeTests/ApiGurus.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public ApisGuruTests(ITestOutputHelper output)
2727

2828
static ApisGuruTests()
2929
{
30-
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
30+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
3131
_httpClient = new(new HttpClientHandler
3232
{
3333
AutomaticDecompression = DecompressionMethods.GZip

test/Microsoft.OpenApi.SmokeTests/GraphTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class GraphTests
1919
public GraphTests(ITestOutputHelper output)
2020
{
2121
_output = output;
22-
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
22+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
2323
_httpClient = new(new HttpClientHandler
2424
{ AutomaticDecompression = DecompressionMethods.GZip
2525
});

0 commit comments

Comments
 (0)