Skip to content

Commit

Permalink
Set TLS 1.2 when testing github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
devblackops committed Mar 14, 2018
1 parent 1e64434 commit b2adeae
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -15,6 +15,7 @@ Describe 'Simple Validation of Microsoft' -Tag 'AAABBBCCC', 'XXXYYYZZZ' {

Describe 'Simple Validation of Github' -Tag 'JJJKKKLLL' {
It 'GitHub should be responsive' {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$response = Invoke-WebRequest -Uri 'https://www.github.com' -UseBasicParsing
$response.StatusCode | Should be 200
}
Expand Down

0 comments on commit b2adeae

Please sign in to comment.