mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Fix
This commit is contained in:
@@ -18,8 +18,6 @@ Describe "Kind" {
|
||||
|
||||
Describe "DotnetTLS" {
|
||||
It "Tls 1.2 is enabled" {
|
||||
$protocols = [Net.ServicePointManager]::SecurityProtocol
|
||||
$protocolArr = $protocols -split ', '
|
||||
$protocolArr.Contains('Tls12') | Should -BeTrue
|
||||
[Net.ServicePointManager]::SecurityProtocol -band "Tls12" | Should -Be Tls12
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user