You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/integration/Connection.Tests.ps1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -80,8 +80,8 @@ Describe "Connect to a fortigate (using HTTPS)" {
80
80
$DefaultFGTConnection.serial| Should -Not-BeNullOrEmpty
81
81
}
82
82
83
-
It "Connect to a FortiGate (using HTTPS) to old (before FortiOS 6.4 without -oldauth)"-Skip:($httpOnly-and$fgt_version-ge"6.4.0" ) {
84
-
{ Connect-FGT$ipaddress-Username $login-password $mysecpassword-SkipCertificateCheck -port $port } | Should -throw "Log in failure. Most likely an incorrect username/password combo"
83
+
It "Connect to a FortiGate (using HTTPS) to old (before FortiOS 6.4 without -oldauth)"-Skip:($httpOnly-or$fgt_version-ge"6.4.0" ) {
84
+
{ Connect-FGT$ipaddress-Username $login-password $mysecpassword-SkipCertificateCheck -port $port } | Should -throw "Not supported API Authentication method on this FortiGate (try use -oldauth parameter)"
0 commit comments