diff --git a/Tests/integration/SystemSettings.Tests.ps1 b/Tests/integration/SystemSettings.Tests.ps1 index 64ddf7480..dff3ecb9c 100644 --- a/Tests/integration/SystemSettings.Tests.ps1 +++ b/Tests/integration/SystemSettings.Tests.ps1 @@ -53,8 +53,8 @@ Describe "Set System Settings" { $script:settings = Get-FGTSystemSettings } - #Coming with FortiOS 7.2.x and need for some feature (like waf, ztna.. ) - It "Change gui-proxy-inspection to enable" -skip:($fgt_version -lt "7.2.0") { + #Coming with FortiOS 7.2.x and need for some feature (like waf, ztna.. ) and remove with 7.6.0... + It "Change gui-proxy-inspection to enable" -skip:($fgt_version -lt "7.2.0" -or $fgt_version -ge "7.6.0") { Set-FGTSystemSettings -gui_proxy_inspection $ss = Get-FGTSystemSettings $ss.'gui-proxy-inspection' | Should -Be "enable" @@ -351,7 +351,7 @@ Describe "Set System Settings" { $ss.'lldp-reception' | Should -Be "global" } - It "Change gui-proxy-inspection to disable" -skip:($fgt_version -lt "7.2.0") { + It "Change gui-proxy-inspection to disable" -skip:($fgt_version -lt "7.2.0" -or $fgt_version -ge "7.6.0") { Set-FGTSystemSettings -gui_proxy_inspection:$false $ss = Get-FGTSystemSettings $ss.'gui-proxy-inspection' | Should -Be "disable"