Skip to content

Commit

Permalink
Tests: fix typo about STP Instannce throw
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Feb 28, 2025
1 parent 8daf8eb commit 4dc2334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/integration/Connection.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Describe "Connect to a FortiGate (using multi connection)" {
{ Get-FGTSwitchSTPInstance -connection $fgt } | Should -Not -Throw
}
It "Use Multi connection for call Get Switch STP Instance (< 6.2.0)" -skip:($fgt_version -ge "6.2.0") {
{ Get-FGTSwitchSTPInstance -connection $fgt } | Should -Throw "Switch SNMP Community is not available before Forti OS 6.2"
{ Get-FGTSwitchSTPInstance -connection $fgt } | Should -Throw "Switch STP Instance is not available before Forti OS 6.2"
}
It "Use Multi connection for call Get Switch STP Settings" {
{ Get-FGTSwitchSTPSettings -connection $fgt } | Should -Not -Throw
Expand Down

0 comments on commit 4dc2334

Please sign in to comment.