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