This commit is contained in:
Vladimir Safonkin
2020-07-14 09:40:02 +03:00
parent 0c57e97fb8
commit b6caa13a4e

View File

@@ -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
}
}