From 8a664ab88110de914d538f7069f22380923c39c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Mon, 16 Sep 2024 11:53:43 +0200 Subject: [PATCH] add connectin.tests.ps1 --- Tests/integration/Connection.Tests.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/integration/Connection.Tests.ps1 b/Tests/integration/Connection.Tests.ps1 index c2e7349b..6b172ebf 100644 --- a/Tests/integration/Connection.Tests.ps1 +++ b/Tests/integration/Connection.Tests.ps1 @@ -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 }