From 951b8a5933a48ffdfd7d371f201f62ca6ed9129e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Mon, 16 Sep 2024 11:54:28 +0200 Subject: [PATCH] fix connectin.tests.ps1 --- Tests/integration/Connection.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/integration/Connection.Tests.ps1 b/Tests/integration/Connection.Tests.ps1 index 6b172ebff..d9d0572cb 100644 --- a/Tests/integration/Connection.Tests.ps1 +++ b/Tests/integration/Connection.Tests.ps1 @@ -302,7 +302,7 @@ Describe "Connect to a FortiGate (using multi connection)" { { 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 + { Get-FGTMonitorSystemInterfaceDHCPStatus -interface $pester_port1 -connection $fgt } | Should -Not -Throw } It "Use Multi connection for call Get Monitor License Status" { { Get-FGTMonitorLicenseStatus -connection $fgt } | Should -Not -Throw