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