Skip to content

Commit

Permalink
add connectin.tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Moreau committed Sep 16, 2024
1 parent c095737 commit 8a664ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/integration/Connection.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ Describe "Connect to a FortiGate (using multi connection)" {
It "Use Multi connection for call Get Monitor System HA Checksum (< 6.2.0 with no HA)" -skip:( -Not $VersionIs60WithNoHA) {
{ Get-FGTMonitorSystemHAChecksum -connection $fgt } | Should -Throw "You can't check HA Checksum with FortiOS < 6.2.0"
}
It "Use Multi connection for call Get Monitor System Interface DHCP Status" {
{ Get-FGTMonitorSystemInterfaceDHCPStatus -interface port1 -connection $fgt } | Should -Not -Throw
}
It "Use Multi connection for call Get Monitor License Status" {
{ Get-FGTMonitorLicenseStatus -connection $fgt } | Should -Not -Throw
}
Expand Down

0 comments on commit 8a664ab

Please sign in to comment.